Skip to main content
CVE-2021-22924VulnerabilityPublished Updated

CVE-2021-22924: https://github.com/curl/curl · Improper Input Validation

Affects https://github.com/curl/curlSource CVE Database V5

0

Not known to be exploited · CVSS 3.7 Low.

Data as of 26 Oct 2026, 06:26 UTC

CVSS 3.1 base score
3.7Low
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 5 Aug 2021

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
GitHubcurl/curlpkg:github/curl/curlOther threatsAffected
  • >=7.10.4 <=7.77.0
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

Community reviews

Loading reviews…