Home / https://github.com/curl/curl / https://github.com/curl/curl / CVE-2021-22947
CVE-2021-22947: is it exploited, and which versions of https://github.com/curl/curl are affected and fixed?
CVE-2021-22947 is a data authenticity not verified vulnerability in https://github.com/curl/curl. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:08 UTC). Affected: https://github.com/curl/curl curl 7.20.0 to and including 7.78.0 (CVE record by hackerone). Fixed in 7.79.0, 1.0.1.1, 12.3, 8.2.12 and 1 more (NVD). Severity: Medium (5.9, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:08 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:54 UTC.
What is 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 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.
From the CVE record by hackerone, last updated October 14, 2026, 11:34 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| https://github.com/curl/curl | curl 7.20.0 to and including 7.78.0 |
As the CVE record by hackerone states it, last updated October 14, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| haxx | curl | from 7.20.0 before 7.79.0 | application |
| fedoraproject | fedora | 33 | operating system |
| fedoraproject | fedora | 35 | operating system |
| debian | debian linux | 9.0 | operating system |
| debian | debian linux | 10.0 | operating system |
| debian | debian linux | 11.0 | operating system |
| netapp | cloud backup | all versions | application |
| netapp | clustered data ontap | all versions | application |
| netapp | h300s firmware | all versions | operating system |
| netapp | h500s firmware | all versions | operating system |
| netapp | h700s firmware | all versions | operating system |
| netapp | h300e firmware | all versions | operating system |
| netapp | h500e firmware | all versions | operating system |
| netapp | h700e firmware | all versions | operating system |
| netapp | h410s firmware | all versions | operating system |
| netapp | solidfire baseboard management controller firmware | all versions | operating system |
| oracle | communications cloud native core binding support function | 1.11.0 | application |
| oracle | communications cloud native core network function cloud native environment | 1.10.0 | application |
| oracle | communications cloud native core network repository function | 1.15.0 | application |
| oracle | communications cloud native core network repository function | 1.15.1 | application |
| oracle | communications cloud native core network slice selection function | 1.8.0 | application |
| oracle | communications cloud native core service communication proxy | 1.15.0 | application |
| oracle | mysql server | from 5.7.0 through 5.7.35 | application |
| oracle | mysql server | from 8.0.0 through 8.0.26 | application |
| oracle | peoplesoft enterprise peopletools | 8.57 | application |
NVD analysis (status Modified), last modified October 14, 2026, 12:17 UTC.
How severe is CVE-2021-22947?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.9 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N | CISA-ADP |
| Medium 5.9 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N | NVD |
| Medium 4.3 | CVSS 2.0 | AV:N/AC:M/Au:N/C:N/I:P/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-22947 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, March 28, 2024)
- EPSS
- 3.02% probability of exploitation activity in the next 30 days, percentile 87.8 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://hackerone.com/reports/1334763
- [debian-lts-announce] 20210930 [SECURITY] [DLA 2773-1] curl security update mailing-list
- FEDORA-2021-fc96a3a749 vendor-advisory
- https://www.oracle.com/security-alerts/cpuoct2021.html
- FEDORA-2021-1d24845e93 vendor-advisory
- https://www.oracle.com/security-alerts/cpujan2022.html
- https://security.netapp.com/advisory/ntap-20211029-0003/
- 20220314 APPLE-SA-2022-03-14-4 macOS Monterey 12.3 mailing-list
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf
- https://support.apple.com/kb/HT213183
- https://www.oracle.com/security-alerts/cpujul2022.html
- DSA-5197 vendor-advisory
- [debian-lts-announce] 20220828 [SECURITY] [DLA 3085-1] curl security update mailing-list
- GLSA-202212-01 vendor-advisory
- https://cert-portal.siemens.com/productcert/html/ssa-389290.html
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
When was it published, and where is the official record?
- Reserved
- January 6, 2021
- Published
- September 29, 2021, 00:00 UTC
- CVE record updated
- October 14, 2026, 11:34 UTC by hackerone
- NVD
- Modified, last modified October 14, 2026, 12:17 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:54 UTC; KEV December 3, 2026, 14:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect https://github.com/curl/curl?
- May 26, 2023CVE-2023-28322 https://github.com/curl/curl: information disclosure
- May 26, 2023CVE-2023-28321 https://github.com/curl/curl: improper certificate validation
- May 26, 2023CVE-2023-28320 https://github.com/curl/curl: denial of service (uncontrolled resource consumption)
- May 26, 2023CVE-2023-28319 https://github.com/curl/curl: use after free
- Mar 30, 2023CVE-2023-27538 https://github.com/curl/curl: authentication Bypass by Primary Weakness
- Mar 30, 2023CVE-2023-27537 https://github.com/curl/curl: double free
- Mar 30, 2023CVE-2023-27536 https://github.com/curl/curl: authentication Bypass by Primary Weakness
- Mar 30, 2023CVE-2023-27535 https://github.com/curl/curl: authentication Bypass by Primary Weakness
Every CVE in https://github.com/curl/curl
Questions about CVE-2021-22947
Is CVE-2021-22947 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:08 UTC. FIRST's EPSS gives it a 3.02% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of https://github.com/curl/curl are affected by CVE-2021-22947?
https://github.com/curl/curl curl 7.20.0 to and including 7.78.0, per the CVE record by hackerone. The tables above give every range the sources list.
Which version fixes CVE-2021-22947?
7.79.0, 1.0.1.1, 12.3, 8.2.12 and 9.0.6, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-22947?
Medium (5.9, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2021-22947?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.