CVEvulnerability

CVE-2021-22926

7.5 HIGH Published 2021-08-05 Modified 2026-10-14 Official page ↗
Status
Modified
Published
2021-08-05
Last modified
2026-10-14
Assigner
[email protected]
CVSS 3.1 ([email protected])
7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0 ([email protected])
5.0 MEDIUM — AV:N/AC:L/Au:N/C:N/I:N/A:P
Weaknesses
CWE-295, CWE-840

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.

Affected configurations

• haxx curl (>= 7.33.0 < 7.78.0) • netapp active iq unified manager • netapp clustered data ontap • netapp hci management node • netapp oncommand insight • netapp oncommand workflow automation • netapp snapcenter • netapp solidfire • oracle mysql server (>= 5.7.0 <= 5.7.35) • oracle mysql server (>= 8.0.0 <= 8.0.26) • oracle peoplesoft enterprise peopletools 8.57 • oracle peoplesoft enterprise peopletools 8.58 • oracle peoplesoft enterprise peopletools 8.59 • siemens sinec infrastructure network services (< 1.0.1.1) • netapp h300s firmware • netapp h300e firmware • netapp h500e firmware • netapp h500s firmware • netapp h700s firmware • netapp h700e firmware • netapp h410s firmware • splunk universal forwarder (>= 8.2.0 < 8.2.12) • splunk universal forwarder (>= 9.0.0 < 9.0.6) • splunk universal forwarder 9.1.0

Related

Weakness · not in database (1)

Weakness · CWE (1)

  • CWE-295 Improper Certificate Validation weakness

References