CVE-2021-22947

Summary

CVECVE-2021-22947
StatePUBLISHED
Assignerhackerone
Source PriorityCVE Program / NVD first with legacy fallback
Published2021-09-29 20:15:08 UTC
Updated2026-04-16 15:16:44 UTC
DescriptionWhen 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.

Risk And Classification

Primary CVSS: v3.1 5.9 MEDIUM from [email protected]

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

Problem Types: CWE-310 | CWE-345 | CWE-310 Cryptographic Issues - Generic (CWE-310)


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary5.9MEDIUMCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
3.1ADPDECLARED5.9MEDIUMCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
3.1134c704f-9b21-4f2e-91b3-4a467353bcc0Secondary5.9MEDIUMCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
2.0[email protected]Primary4.3AV:N/AC:M/Au:N/C:N/I:P/A:N

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Medium
Authentication
None
Confidentiality
None
Integrity
Partial
Availability
None

AV:N/AC:M/Au:N/C:N/I:P/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Apple Macos All All All All
Operating System Debian Debian Linux 10.0 All All All
Operating System Debian Debian Linux 11.0 All All All
Operating System Debian Debian Linux 9.0 All All All
Operating System Fedoraproject Fedora 33 All All All
Operating System Fedoraproject Fedora 35 All All All
Application Haxx Curl All All All All
Application Netapp Cloud Backup - All All All
Application Netapp Clustered Data Ontap - All All All
Hardware Netapp H300e - All All All
Operating System Netapp H300e Firmware - All All All
Hardware Netapp H300s - All All All
Operating System Netapp H300s Firmware - All All All
Hardware Netapp H410s - All All All
Operating System Netapp H410s Firmware - All All All
Hardware Netapp H500e - All All All
Operating System Netapp H500e Firmware - All All All
Hardware Netapp H500s - All All All
Operating System Netapp H500s Firmware - All All All
Hardware Netapp H700e - All All All
Operating System Netapp H700e Firmware - All All All
Hardware Netapp H700s - All All All
Operating System Netapp H700s Firmware - All All All
Hardware Netapp Solidfire Baseboard Management Controller - All All All
Operating System Netapp Solidfire Baseboard Management Controller Firmware - All All All
Application Oracle Commerce Guided Search 11.3.2 All All All
Application Oracle Communications Cloud Native Core Binding Support Function 1.11.0 All All All
Application Oracle Communications Cloud Native Core Binding Support Function 22.1.3 All All All
Application Oracle Communications Cloud Native Core Console 22.2.0 All All All
Application Oracle Communications Cloud Native Core Network Function Cloud Native Environment 1.10.0 All All All
Application Oracle Communications Cloud Native Core Network Repository Function 1.15.0 All All All
Application Oracle Communications Cloud Native Core Network Repository Function 1.15.1 All All All
Application Oracle Communications Cloud Native Core Network Repository Function 22.1.2 All All All
Application Oracle Communications Cloud Native Core Network Repository Function 22.2.0 All All All
Application Oracle Communications Cloud Native Core Network Slice Selection Function 1.8.0 All All All
Application Oracle Communications Cloud Native Core Security Edge Protection Proxy 22.1.1 All All All
Application Oracle Communications Cloud Native Core Service Communication Proxy 1.15.0 All All All
Application Oracle Mysql Server All All All All
Application Oracle Mysql Server All All All All
Application Oracle Peoplesoft Enterprise Peopletools 8.57 All All All
Application Oracle Peoplesoft Enterprise Peopletools 8.58 All All All
Application Oracle Peoplesoft Enterprise Peopletools 8.59 All All All
Application Siemens Sinec Infrastructure Network Services All All All All
Application Splunk Universal Forwarder All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na Https//github.com/curl/curl affected curl 7.20.0 to and including 7.78.0 Not specified

References

ReferenceSourceLinkTags
Oracle Critical Patch Update Advisory - April 2022 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com Patch, Third Party Advisory
Oracle Critical Patch Update Advisory - October 2021 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com Patch, Third Party Advisory
[SECURITY] [DLA 2773-1] curl security update af854a3a-2127-422b-91ae-364da2661108 lists.debian.org Mailing List, Third Party Advisory
About the security content of macOS Monterey 12.3 - Apple Support (PH) af854a3a-2127-422b-91ae-364da2661108 support.apple.com Release Notes, Third Party Advisory
curl: Multiple Vulnerabilities (GLSA 202212-01) — Gentoo security af854a3a-2127-422b-91ae-364da2661108 security.gentoo.org Third Party Advisory
[SECURITY] [DLA 3085-1] curl security update af854a3a-2127-422b-91ae-364da2661108 lists.debian.org Mailing List, Third Party Advisory
Oracle Critical Patch Update Advisory - January 2022 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com Patch, Third Party Advisory
[SECURITY] Fedora 35 Update: curl-7.79.1-1.fc35 - package-announce - Fedora Mailing-Lists af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org Mailing List, Third Party Advisory
Oracle Critical Patch Update Advisory - July 2022 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com Patch, Third Party Advisory
Debian -- Security Information -- DSA-5197-1 curl af854a3a-2127-422b-91ae-364da2661108 www.debian.org Third Party Advisory
September 2021 cURL/libcURL Vulnerabilities in NetApp Products | NetApp Product Security af854a3a-2127-422b-91ae-364da2661108 security.netapp.com Third Party Advisory
[SECURITY] Fedora 33 Update: curl-7.71.1-11.fc33 - package-announce - Fedora Mailing-Lists af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org Mailing List, Third Party Advisory
cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf af854a3a-2127-422b-91ae-364da2661108 cert-portal.siemens.com Patch, Third Party Advisory
Full Disclosure: APPLE-SA-2022-03-14-4 macOS Monterey 12.3 af854a3a-2127-422b-91ae-364da2661108 seclists.org Mailing List, Third Party Advisory
HackerOne af854a3a-2127-422b-91ae-364da2661108 hackerone.com Exploit, Issue Tracking, Third Party Advisory
[SECURITY] Fedora 35 Update: curl-7.79.1-1.fc35 - package-announce - Fedora Mailing-Lists MITRE lists.fedoraproject.org
[SECURITY] Fedora 33 Update: curl-7.71.1-11.fc33 - package-announce - Fedora Mailing-Lists MITRE lists.fedoraproject.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 159446 Oracle Enterprise Linux Security Update for curl (ELSA-2021-4059)
  • 178854 Debian Security Update for curl (DLA 2773-1)
  • 180909 Debian Security Update for curl (DSA 5197-1)
  • 180969 Debian Security Update for curl (DLA 3085-1)
  • 182429 Debian Security Update for curl (CVE-2021-22947)
  • 198501 Ubuntu Security Notification for curl Vulnerabilities (USN-5079-1)
  • 239769 Red Hat Update for curl (RHSA-2021:4059)
  • 240097 Red Hat Update for curl (RHSA-2022:0635)
  • 240217 Red Hat Update for rh-dotnet31-curl (RHSA-2022:1354)
  • 281920 Fedora Security Update for curl (FEDORA-2021-c5584b92d4)
  • 281955 Fedora Security Update for curl (FEDORA-2021-fc96a3a749)
  • 296065 Oracle Solaris 11.4 Support Repository Update (SRU) 39.107.1 Missing (CPUOCT2021)
  • 352874 Amazon Linux Security Advisory for curl : ALAS-2021-1549
  • 353082 Amazon Linux Security Advisory for curl : ALAS2-2021-1724
  • 376257 Oracle PeopleSoft Enterprise PeopleTools Product Multiple Vulnerabilities (CPUJAN2022)
  • 376485 Apple MacOS Monterey 12.3 Not Installed (HT213183)
  • 376968 NetApp Clustered Data Open Network Technology for Appliance Products (ONTAP) Disclosure of Sensitive Information Vulnerability (NTAP-20211029-0003)
  • 377396 Alibaba Cloud Linux Security Update for curl (ALINUX3-SA-2021:0078)
  • 378599 Splunk Enterprise Third Party Package Updates for June (SVD-2023-0613)
  • 378883 Splunk Enterprise August Third Party Package Updates (SVD-2023-0808)
  • 379349 Alibaba Cloud Linux Security Update for curl (ALINUX2-SA-2024:0007)
  • 500137 Alpine Linux Security Update for curl
  • 503788 Alpine Linux Security Update for curl
  • 591406 Siemens SIMATIC S7-1500 CPU GNU/Linux subsystem Multiple Vulnerabilities (SSB-439005, ICSA-22-104-13)
  • 671144 EulerOS Security Update for curl (EulerOS-SA-2021-2798)
  • 671196 EulerOS Security Update for curl (EulerOS-SA-2022-1023)
  • 671202 EulerOS Security Update for curl (EulerOS-SA-2022-1003)
  • 671299 EulerOS Security Update for curl (EulerOS-SA-2022-1202)
  • 671303 EulerOS Security Update for curl (EulerOS-SA-2022-1221)
  • 690014 Free Berkeley Software Distribution (FreeBSD) Security Update for curl (c9221ec9-17a2-11ec-b335-d4c9ef517024)
  • 710693 Gentoo Linux curl Multiple Vulnerabilities (GLSA 202212-01)
  • 730371 McAfee Web Gateway Multiple Vulnerabilities (WP-3335,WP-4131,WP-4159,WP-4237,WP-4259,WP-4329,WP-4348,WP-4355,WP-4376,WP-4407,WP-4421)
  • 751197 SUSE Enterprise Linux Security Update for curl (SUSE-SU-2021:3297-1)
  • 751205 OpenSUSE Security Update for curl (openSUSE-SU-2021:3298-1)
  • 751208 SUSE Enterprise Linux Security Update for curl (SUSE-SU-2021:3332-1)
  • 751213 SUSE Enterprise Linux Security Update for curl (SUSE-SU-2021:3351-1)
  • 751243 OpenSUSE Security Update for curl (openSUSE-SU-2021:1384-1)
  • 900445 Common Base Linux Mariner (CBL-Mariner) Security Update for curl (5944)
  • 900955 Common Base Linux Mariner (CBL-Mariner) Security Update for curl (6366-1)
  • 91851 Microsoft Windows Security Update for January 2022
  • 940005 AlmaLinux Security Update for curl (ALSA-2021:4059)
  • 960062 Rocky Linux Security Update for curl (RLSA-2021:4059)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report