PT-2021-15278

CVE-2021-22926

·

Published

2021-07-21

·

Updated

2026-10-14

Description by

CVSS 3.1
7.5
High
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions libcurl versions prior to 7.77.0 MySQL Server versions 5.7.35 and earlier, 8.0.26 and earlier
Description The issue arises when libcurl-using applications request a specific client certificate for a transfer using the CURLOPT SSLCERT option. On macOS, where libcurl is built with the native TLS library Secure Transport, an application can specify the client certificate by name or file name. However, if the application's current working directory is writable by other users, a malicious user can create a file with the same name as the intended certificate, causing the application to use the wrong client certificate. This can lead to libcurl sending the incorrect client certificate during the TLS connection handshake.
Recommendations For libcurl versions prior to 7.77.0, consider updating to version 7.77.0 or later to resolve the issue. For MySQL Server versions 5.7.35 and earlier, update to version 5.7.36 or later. For MySQL Server versions 8.0.26 and earlier, update to version 8.0.27 or later. As a temporary workaround, consider restricting the application's current working directory to a non-writable location to minimize the risk of exploitation.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
ALT-PU-2021-2348
ALT-PU-2021-2856
ALT-PU-2021-2908
ALT-PU-2021-3241
ALT-PU-2021-3666
ALT-PU-2022-2171
ALT-PU-2023-1912
AZL-6364
ECHO-C377-EC84-0DA8
OESA-2021-1321
OPENSUSE-SU-2024:12116-1
Found an issue in the description? Have something to add? Feel free to write us 👾