Home/CVE/libcurl-using applications can ask for a specific client certificate to be used in a transfer. This is done with the `CU
CVE

CVE-2021-22926

libcurl-using applications can ask for a specific client certificate to be used in a transfer. This is done with the `CU

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.

HIGH · CVSS 7.5 EPSS 0.00657
Act now
  • Public exploit or PoC is available
  • CVSS base score ≥ 7.0
Sigma rules7 YARA rules0

Weakness Classification

Affected Products & Versions

22

Public Exploits & PoCs

1
pochackerone.com · 1234760hackerone.com

Sigma Hunt Rules

7
Exact rules name this CVE ID. Product rules name an affected product in their title. Related rules cover techniques used by actors who exploited this CVE. Showing the most relevant matches; the complete related set is on the full drill-down.
producthighSuspicious Download and Execute Pattern via Curl/Wget
producthighSuspicious File Download From File Sharing Domain Via Curl.EXE
producthighSuspicious File Download From IP Via Curl.EXE
producthighCurl Download And Execute Combination
producthighSuspicious Curl.EXE Download
productmediumSuspicious Curl File Upload - Linux

Scoring & Timeline

7.5
HIGH · CVSS v3.1 · support@hackerone.com
View on NVD
Attack Vector
Network Adjacent Local Physical
Attack Complexity
Low High
Privileges Required
None Low High
User Interaction
None Required
Scope
Unchanged Changed
Confidentiality
None Low High
Integrity
None Low High
Availability
None Low High
Published to NVD05 Aug 2021 · 09:15 PM
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Vendor Advisories

7
suse-csafopenSUSE-SU-2024:12116-1
siemens-csafSSA-398330
siemens-csafSSA-389290
Intelligence Graph · click any node to traverse
CVETechnique ActorTool Family
drag to reposition · click any node to traverse · button top-right enlarges
External lookups - second-class, for what we don’t hold ourselves
Vulnerabilities
CISA KEV catalog
CWE weaknesses
CAPEC attack patterns
Package vulnerabilities
Threat intelligence
Threat actors
Tools & malware
ATT&CK techniques
IOCs
Detection & defense
Sigma rules
YARA rules
Atomic Red Team tests
D3FEND countermeasures
Compliance
NIST 800-53
ISO 27001:2022
SOC 2 TSC
PCI-DSS v4.0
CIS Controls v8.1
About
All capabilities
Live statistics
Data sources
Privacy policy
Terms of service
threatengine.sh  ·  Open-source threat intelligence platform  ·  100+ authoritative sources  ·  Every fact traces to its origin