Vulnerability · 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 m…
Published Sep 29, 2021 · catalog updated Oct 14, 2026 · the affected product
Check if you run it
No confirmed exploitation is on record for CVE-2021-22947. EPSS is 3.01%. Act only if a listed version of the affected product is installed.
Gaps on this record
- No plain product name is stored. The page cannot tell you which product to check.
- No vendor fix or required action is stored. Compare the linked advisory before you change production.
- Severity
- Medium5.9
- Known exploitation
- Not in CISA/VulnCheck KEV
- EPSS
- 3.01%
- Remediation
- Advisory link
- Affected products
- cpe debian/debian linux · cpe fedoraproject/fedora · cpe haxx/curl · cpe netapp/cloud backup · cpe netapp/clustered data ontap · cpe netapp/h300e firmware
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.
Are you affected?
Enter the version you run. The result uses only the ranges stored on this record.
The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.
- cpe debian/debian linux10.0
- cpe debian/debian linux11.0
- cpe debian/debian linux9.0
- cpe fedoraproject/fedora33
- cpe fedoraproject/fedora35
- cpe haxx/curlversion unspecified
- cpe netapp/cloud backupversion unspecified
- cpe netapp/clustered data ontapversion unspecified
- cpe netapp/h300e firmwareversion unspecified
- cpe netapp/h300s firmwareversion unspecified
- cpe netapp/h500s firmwareversion unspecified
- cpe netapp/h700s firmwareversion unspecified
How to fix CVE-2021-22947
Recommended remediation
A patch or advisory reference is linked. Open the original publisher for availability by product version.
Official advisories
What to do
Three questions, each answered from this record only. Confirm the vendor advisory before you patch.
Should you patch?
No confirmed exploitation is on record for CVE-2021-22947. EPSS is 3.01%. Act only if a listed version of the affected product is installed.
Which versions are affected?
Compare what you have installed with debian/debian linux 10.0; debian/debian linux 11.0; debian/debian linux 9.0. Compare the installed version with the linked vendor advisory before you change production.
What should an analyst verify?
CWE-310; CWE-345: Insufficient Verification of Data Authenticity. EPSS 3.01%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.
Code
The project this record applies to. Exploit listings stay in References.
No public source repository is identified for this product.
Timeline
Detection, updates, and resolution for this record.
Sep 29, 2021 · NIST NVD
Detected
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 authenti
Oct 14, 2026 · NIST NVD
Updated
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 authenti
Sources
- CVE.orgVulnerability recordCVE-2021-22947
Official CVE identifier
cve.org - FIRST EPSSExploitation probabilityCVE-2021-22947
30-day exploitation probability 3.0%
first.org - NIST NVDVulnerability recordCVE-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 responses at once that curl caches. curl would then upgrade to TLS but not flush the in-queue of cached r
nvd.nist.gov
References
Freshness
Last verified in this catalog Oct 16, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.