CVE-2021-22926

7.5 HIGH
Published: August 05, 2021 Modified: May 28, 2026
View on NVD

Description

libcurl-using applications can ask for a specific client certificate to be used in a transfer. This is done with the `CURLOPT_SSLCERT` option (`--cert` with the command line tool).When libcurl is built to use the macOS native TLS library Secure Transport, an application can ask for the client certificate by name or with a file name - using the same option. If the name exists as a file, it will be used instead of by name.If the appliction runs with a current working directory that is writable by other users (like `/tmp`), a malicious user can create a file name with the same name as the app wants to use by name, and thereby trick the application to use the file based cert instead of the one referred to by name making libcurl send the wrong client certificate in the TLS connection handshake.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf
Source: support@hackerone.com
Patch Third Party Advisory
https://hackerone.com/reports/1234760
Source: support@hackerone.com
Exploit Third Party Advisory
https://security.gentoo.org/glsa/202212-01
Source: support@hackerone.com
Third Party Advisory
https://security.netapp.com/advisory/ntap-20210902-0003/
Source: support@hackerone.com
Third Party Advisory
https://security.netapp.com/advisory/ntap-20211022-0003/
Source: support@hackerone.com
Third Party Advisory
https://www.oracle.com/security-alerts/cpujan2022.html
Source: support@hackerone.com
Patch Third Party Advisory
https://www.oracle.com/security-alerts/cpuoct2021.html
Source: support@hackerone.com
Patch Third Party Advisory
https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf
Source: af854a3a-2127-422b-91ae-364da2661108
Patch Third Party Advisory
https://hackerone.com/reports/1234760
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit Third Party Advisory
https://security.gentoo.org/glsa/202212-01
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
https://security.netapp.com/advisory/ntap-20210902-0003/
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
https://security.netapp.com/advisory/ntap-20211022-0003/
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
https://www.oracle.com/security-alerts/cpujan2022.html
Source: af854a3a-2127-422b-91ae-364da2661108
Patch Third Party Advisory
https://www.oracle.com/security-alerts/cpuoct2021.html
Source: af854a3a-2127-422b-91ae-364da2661108
Patch Third Party Advisory

22 reference(s) from NVD

Quick Stats

CVSS v3 Score
7.5 / 10.0
EPSS (Exploit Probability)
9.8%
95th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

oracle netapp siemens splunk haxx