CVE-2021-22947
Description
When curl >= 7.20.0 and <= 7.78.0 connects to an IMAP or POP3 server to retrieve data using STARTTLS to upgrade to TLS security, the server can respond and send back multiple responses at once that curl caches. curl would then upgrade to TLS but not flush the in-queue of cached responses but instead continue using and trustingthe responses it got *before* the TLS handshake as if they were authenticated.Using this flaw, it allows a Man-In-The-Middle attacker to first inject the fake responses, then pass-through the TLS traffic from the legitimate server and trick curl into sending data back to the user thinking the attacker's injected data comes from the TLS-protected server.
Description as published by the source, in English.
Key facts
- Published
- 2021-09-29
- Last modified
- 2026-10-14
- Assigned by
- support@hackerone.com
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
3.0 %
higher than 86 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Apple | Macos | < 12.3 | Affected |
| Debian | Debian Linux | 10.0 | Affected |
| Debian | Debian Linux | 11.0 | Affected |
| Debian | Debian Linux | 9.0 | Affected |
| Fedoraproject | Fedora | 33 | Affected |
| Fedoraproject | Fedora | 35 | Affected |
| Haxx | Curl | ≥ 7.20.0, < 7.79.0 | Affected |
| Netapp | Cloud Backup | all versions listed | Affected |
| Netapp | Clustered Data Ontap | all versions listed | Affected |
| Netapp | H300e | all versions listed | Not affected |
| Netapp | H300e Firmware | all versions listed | Affected |
| Netapp | H300s | all versions listed | Not affected |
| Netapp | H300s Firmware | all versions listed | Affected |
| Netapp | H410s | all versions listed | Not affected |
| Netapp | H410s Firmware | all versions listed | Affected |
| Netapp | H500e | all versions listed | Not affected |
| Netapp | H500e Firmware | all versions listed | Affected |
| Netapp | H500s | all versions listed | Not affected |
| Netapp | H500s Firmware | all versions listed | Affected |
| Netapp | H700e | all versions listed | Not affected |
| Netapp | H700e Firmware | all versions listed | Affected |
| Netapp | H700s | all versions listed | Not affected |
| Netapp | H700s Firmware | all versions listed | Affected |
| Netapp | Solidfire Baseboard Management Controller | all versions listed | Not affected |
| Netapp | Solidfire Baseboard Management Controller Firmware | all versions listed | Affected |
| Oracle | Commerce Guided Search | 11.3.2 | Affected |
| Oracle | Communications Cloud Native Core Binding Support Function | 1.11.0 | Affected |
| Oracle | Communications Cloud Native Core Binding Support Function | 22.1.3 | Affected |
| Oracle | Communications Cloud Native Core Console | 22.2.0 | Affected |
| Oracle | Communications Cloud Native Core Network Function Cloud Native Environment | 1.10.0 | Affected |
| Oracle | Communications Cloud Native Core Network Repository Function | 1.15.0 | Affected |
| Oracle | Communications Cloud Native Core Network Repository Function | 1.15.1 | Affected |
| Oracle | Communications Cloud Native Core Network Repository Function | 22.1.2 | Affected |
| Oracle | Communications Cloud Native Core Network Repository Function | 22.2.0 | Affected |
| Oracle | Communications Cloud Native Core Network Slice Selection Function | 1.8.0 | Affected |
| Oracle | Communications Cloud Native Core Security Edge Protection Proxy | 22.1.1 | Affected |
| Oracle | Communications Cloud Native Core Service Communication Proxy | 1.15.0 | Affected |
| Oracle | Mysql Server | ≥ 5.7.0, ≤ 5.7.35 | Affected |
| Oracle | Mysql Server | ≥ 8.0.0, ≤ 8.0.26 | Affected |
| Oracle | Peoplesoft Enterprise Peopletools | 8.57 | Affected |
| Oracle | Peoplesoft Enterprise Peopletools | 8.58 | Affected |
| Oracle | Peoplesoft Enterprise Peopletools | 8.59 | Affected |
| Siemens | Sinec Infrastructure Network Services | < 1.0.1.1 | Affected |
| Splunk | Universal Forwarder | 9.1.0 | Affected |
| Splunk | Universal Forwarder | ≥ 8.2.0, < 8.2.12 | Affected |
| Splunk | Universal Forwarder | ≥ 9.0.0, < 9.0.6 | Affected |
Weakness type
-
CWE-345: Insufficient Verification of Data Authenticity
The product does not sufficiently verify the origin or authenticity of data, in a way that causes it to accept invalid data.
- CWE-310
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.
- T1211: Exploitation for Stealth
- T1491: Defacement
- T1542.002: Component Firmware
- T1556: Modify Authentication Process
- T1557.002: ARP Cache Poisoning
- T1584.002: DNS Server
References
- http://seclists.org/fulldisclosure/2022/Mar/29
- https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf
- https://hackerone.com/reports/1334763
- https://lists.debian.org/debian-lts-announce/2021/09/msg00022.html
- https://lists.debian.org/debian-lts-announce/2022/08/msg00017.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/…
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/…
- https://security.gentoo.org/glsa/202212-01
- https://security.netapp.com/advisory/ntap-20211029-0003/
- https://support.apple.com/kb/HT213183
- https://www.debian.org/security/2022/dsa-5197
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.oracle.com/security-alerts/cpujan2022.html
- https://www.oracle.com/security-alerts/cpujul2022.html
- https://www.oracle.com/security-alerts/cpuoct2021.html
- http://seclists.org/fulldisclosure/2022/Mar/29
- https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf
- https://hackerone.com/reports/1334763
- https://lists.debian.org/debian-lts-announce/2021/09/msg00022.html
- https://lists.debian.org/debian-lts-announce/2022/08/msg00017.html
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.