CVE-2021-22947

MEDIUM
5.9
CVSS Score
Published: September 29, 2021 at 12:00 AM UTC
Updated: October 14, 2026 at 12:17 PM UTC
26 products affected across 8 vendorsmacOSDebian LinuxFedora· also runs on 8 platforms

Using https://github.com/curl/curl by N/A?

Get instant alerts when new vulnerabilities affect https://github.com/curl/curl - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.9
Exploit prediction
EPSS 3%
SSVC
PoC

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 12.3
Affected range stops below 12.3, so it looks safe — our inference, not a vendor statement
Affected range stops below 7.79.0, so it looks safe — our inference, not a vendor statement
All versions
All versions
netapp-h300e (same device)
All versions
netapp-h300s (same device)
All versions
netapp-h410s (same device)
All versions
netapp-h500e (same device)

Runs on — not affected

The affected product only carries this flaw when running on these platforms. The platforms themselves are not vulnerable.

SSVC — Action Prioritization

SSVCPoCNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.9MEDIUMCISA-ADP
Attack Vector
NETWORK
Complexity
HIGH
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-310CWE-345

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card