Medium severity · published Sep 29, 2021
CVE-2021-22947
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…
5.9
CVSS
3%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Attack vector
Network
Complexity
High
Privileges
None
User interaction
None
Confidentiality
None
Integrity
High
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)3.0% · higher than 87% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
MA
macOS · Apple
before 12.3 · source: NVD
HT
https://github.com/curl/curl ·
curl 7.20.0 to and including 7.78.0 · source: vendor
CB
Cloud Backup · Netapp
All versions, or not specified · source: NVD
CD
Clustered Data Ontap · Netapp
All versions, or not specified · source: NVD
CG
Commerce Guided Search · Oracle
11.3.2 · source: NVD
CC
Communications Cloud Native Core Binding Support Function · Oracle
1.11.0; 22.1.3 · source: NVD
CC
Communications Cloud Native Core Console · Oracle
22.2.0 · source: NVD
CC
CC
Communications Cloud Native Core Network Repository Function · Oracle
1.15.0; 1.15.1; 22.1.2; 22.2.0 · source: NVD
CC
Communications Cloud Native Core Network Slice Selection Function · Oracle
1.8.0 · source: NVD
CC
Communications Cloud Native Core Security Edge Protection Proxy · Oracle
22.1.1 · source: NVD
CC
Communications Cloud Native Core Service Communication Proxy · Oracle
1.15.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2021-22947
CVE.org
https://www.cve.org/CVERecord?id=CVE-2021-22947
Mailing List
http://seclists.org/fulldisclosure/2022/Mar/29
Patch
https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf
Exploit
https://hackerone.com/reports/1334763
Mailing List
https://lists.debian.org/debian-lts-announce/2021/09/msg00022.html
Mailing List
https://lists.debian.org/debian-lts-announce/2022/08/msg00017.html
Mailing List
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/APOAK4X73EJTAPTSVT7IRVDMUWVXNWGD/
More from macOS
10.0
CVE-2025-43300
Apple iOS, iPadOS, and macOS Out-of-Bounds Write Vulnerability
10.0
CVE-2025-24201
Apple Multiple Products WebKit Out-of-Bounds Write Vulnerability
10.0
CVE-2025-24085
Apple Multiple Products Use-After-Free Vulnerability
9.8
CVE-2026-65400
Apple macOS Improper Authentication Vulnerability
9.8
CVE-2025-31200
Apple Multiple Products Memory Corruption Vulnerability
