CVE-2021-22924: https://github.com/curl/curl · Improper Input Validation
Affects https://github.com/curl/curlSource CVE Database V5
Not known to be exploited · CVSS 3.7 Low.
Data as of 26 Oct 2026, 06:26 UTC
- EPSS
- 6.2% chance of exploitation in 30 days – higher than 93% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 5 Aug 2021
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubcurl/curlpkg:github/curl/curlOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate CVE-2021-22924, European organizations should: 1) Upgrade libcurl to versions later than 7.77.0 where this vulnerability has been fixed, ensuring the connection matching logic properly considers 'issuercert' and performs case-sensitive path comparisons where appropriate. 2) Audit and inventory all software and services using libcurl to identify vulnerable versions, including embedded devices and third-party applications. 3) Where immediate upgrades are not feasible, implement network-level controls such as strict TLS inspection and monitoring to detect anomalous connection reuse or certificate mismatches. 4) Enforce strict certificate pinning or validation policies in applications using libcurl to reduce reliance on connection reuse logic. 5) Conduct security testing and code reviews focusing on connection reuse and certificate validation mechanisms to identify similar logic flaws. 6) Educate developers and system administrators about the risks of improper input validation and the importance of keeping third-party libraries up to date.
Description
libcurl keeps previously used connections in a connection pool for subsequenttransfers to reuse, if one of them matches the setup.Due to errors in the logic, the config matching function did not take 'issuercert' into account and it compared the involved paths *case insensitively*,which could lead to libcurl reusing wrong connections.File paths are, or can be, case sensitive on many systems but not all, and caneven vary depending on used file systems.The comparison also didn't include the 'issuer cert' which a transfer can setto qualify how to verify the server certificate.
References
- hackerone.com/reports/1223565 (opens in a new tab)
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FRUCW2UVNYUDZF72DQLFQR4PJEC6CF7V/ (opens in a new tab)
- lists.debian.org/debian-lts-announce/2021/08/msg00017.html (opens in a new tab)
- lists.apache.org/thread.html/r61db8e7dcb56dc000a5387a88f7a473bacec5ee01b9ff3f55308aacc%40%3Cdev.kafka.apache.org%3E (opens in a new tab)
- lists.apache.org/thread.html/r61db8e7dcb56dc000a5387a88f7a473bacec5ee01b9ff3f55308aacc%40%3Cusers.kafka.apache.org%3E (opens in a new tab)
- lists.apache.org/thread.html/rbf4ce74b0d1fa9810dec50ba3ace0caeea677af7c27a97111c06ccb7%40%3Cusers.kafka.apache.org%3E (opens in a new tab)
- lists.apache.org/thread.html/rbf4ce74b0d1fa9810dec50ba3ace0caeea677af7c27a97111c06ccb7%40%3Cdev.kafka.apache.org%3E (opens in a new tab)
- oracle.com/security-alerts/cpuoct2021.html (opens in a new tab)
- security.netapp.com/advisory/ntap-20210902-0003/ (opens in a new tab)
- oracle.com/security-alerts/cpujan2022.html (opens in a new tab)
- cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf (opens in a new tab)
- cert-portal.siemens.com/productcert/pdf/ssa-732250.pdf (opens in a new tab)
- cert-portal.siemens.com/productcert/pdf/ssa-484086.pdf (opens in a new tab)
- debian.org/security/2022/dsa-5197 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2022/08/msg00017.html (opens in a new tab)