CVE-2021-22890: https://github.com/curl/curl · Man-in-the-Middle
Affects https://github.com/curl/curlSource CVE Database V5
Not known to be exploited · CVSS 4.3 Medium.
Data as of 25 Oct 2026, 19:02 UTC
- 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:NExploitation evidence
Disclosed: evidence found.
CVE published 1 Apr 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-25.
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 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
- hackerone.com/reports/1129529 (opens in a new tab)
- curl.se/docs/CVE-2021-22890.html (opens in a new tab)
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ITVWPVGLFISU5BJC2BXBRYSDXTXE2YGC/ (opens in a new tab)
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KQUIOYX2KUU6FIUZVB5WWZ6JHSSYSQWJ/ (opens in a new tab)
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2ZC5BMIOKLBQJSFCHEDN2G2C2SH274BP/ (opens in a new tab)
- security.gentoo.org/glsa/202105-36 (opens in a new tab)
- oracle.com//security-alerts/cpujul2021.html (opens in a new tab)
- security.netapp.com/advisory/ntap-20210521-0007/ (opens in a new tab)
- cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf (opens in a new tab)