Skip to main content
CVE-2021-22890VulnerabilityPublished Updated

CVE-2021-22890: https://github.com/curl/curl · Man-in-the-Middle

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

0

Not known to be exploited · CVSS 4.3 Medium.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 3.1 base score
4.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
3.0% chance of exploitation in 30 days – higher than 87% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 1 Apr 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-25.

What to do

Affected software

ProductAffectedFixed in
GitHubcurl/curlpkg:github/curl/curlOther threatsAffected–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 this vulnerability, European organizations should take the following specific actions: 1) Upgrade libcurl to version 7.76.0 or later, where the vulnerability has been addressed. 2) Audit and restrict the use of HTTPS proxies, ensuring only trusted proxies are used and that their certificates are properly validated. 3) Enforce strict TLS certificate validation policies in all client applications using libcurl, avoiding configurations that disable or bypass certificate checks. 4) Monitor network traffic for unusual proxy behavior or unexpected TLS session ticket exchanges that could indicate exploitation attempts. 5) Implement network segmentation and access controls to limit exposure of critical systems to potentially malicious proxies. 6) Educate developers and system administrators about the risks of improper TLS session ticket handling and the importance of keeping dependencies up to date. 7) Where feasible, consider disabling TLS session ticket resumption when using HTTPS proxies until patches are applied, as a temporary workaround. These measures go beyond generic advice by focusing on proxy trust management, strict certificate validation, and proactive monitoring tailored to the nature of this vulnerability.

Description

curl 7.63.0 to and including 7.75.0 includes vulnerability that allows a malicious HTTPS proxy to MITM a connection due to bad handling of TLS 1.3 session tickets. When using a HTTPS proxy and TLS 1.3, libcurl can confuse session tickets arriving from the HTTPS proxy but work as if they arrived from the remote server and then wrongly "short-cut" the host handshake. When confusing the tickets, a HTTPS proxy can trick libcurl to use the wrong session ticket resume for the host and thereby circumvent the server TLS certificate check and make a MITM attack to be possible to perform unnoticed. Note that such a malicious HTTPS proxy needs to provide a certificate that curl will accept for the MITMed server for an attack to work - unless curl has been told to ignore the server certificate check.

References

Community reviews

Loading reviews…