← All CVEs

CVE-2021-22926

high · 7.5

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.

7.5
CVSS
15.1%
EPSS (exploit prob.)
97th
EPSS percentile
2021-08-05
Published

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weaknesses

CWE-840CWE-295

Affected products

VendorProductAffected versions
haxxcurl>= 7.33.0, < 7.78.0
netappactive_iq_unified_managerall versions
netappactive_iq_unified_managerall versions
netappclustered_data_ontapall versions
netapphci_management_nodeall versions
netapponcommand_insightall versions
netapponcommand_workflow_automationall versions
netappsnapcenterall versions
netappsolidfireall versions
oraclemysql_server>= 5.7.0, <= 5.7.35
oraclemysql_server>= 8.0.0, <= 8.0.26
oraclepeoplesoft_enterprise_peopletools8.57
oraclepeoplesoft_enterprise_peopletools8.58
oraclepeoplesoft_enterprise_peopletools8.59
siemenssinec_infrastructure_network_services< 1.0.1.1
netapph300s_firmwareall versions
netapph300sall versions
netapph300e_firmwareall versions
netapph300eall versions
netapph500e_firmwareall versions
netapph500eall versions
netapph500s_firmwareall versions
netapph500sall versions
netapph700s_firmwareall versions
netapph700sall versions
netapph700e_firmwareall versions
netapph700eall versions
netapph410s_firmwareall versions
netapph410sall versions
splunkuniversal_forwarder>= 8.2.0, < 8.2.12
splunkuniversal_forwarder>= 9.0.0, < 9.0.6
splunkuniversal_forwarder9.1.0

Check a specific version with /api/v1/cve/match.

References

Query this programmatically:

curl https://evil-db.io/api/v1/cve/CVE-2021-22926