CVE-2021-22947
Summary
| CVE | CVE-2021-22947 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-09-29 20:15:00 UTC |
| Updated | 2024-03-27 15:03:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-345
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| [SECURITY] Fedora 33 Update: curl-7.71.1-11.fc33 - package-announce - Fedora Mailing-Lists | FEDORA | lists.fedoraproject.org | |
| [SECURITY] Fedora 33 Update: curl-7.71.1-11.fc33 - package-announce - Fedora Mailing-Lists | lists.fedoraproject.org | ||
| Full Disclosure: APPLE-SA-2022-03-14-4 macOS Monterey 12.3 | FULLDISC | seclists.org | |
| [SECURITY] Fedora 35 Update: curl-7.79.1-1.fc35 - package-announce - Fedora Mailing-Lists | FEDORA | lists.fedoraproject.org | |
| Oracle Critical Patch Update Advisory - April 2022 | MISC | www.oracle.com | |
| curl: Multiple Vulnerabilities (GLSA 202212-01) — Gentoo security | GENTOO | security.gentoo.org | |
| [SECURITY] [DLA 2773-1] curl security update | MLIST | lists.debian.org | |
| September 2021 cURL/libcURL Vulnerabilities in NetApp Products | NetApp Product Security | CONFIRM | security.netapp.com | |
| Oracle Critical Patch Update Advisory - October 2021 | MISC | www.oracle.com | |
| Oracle Critical Patch Update Advisory - January 2022 | MISC | www.oracle.com | |
| [SECURITY] Fedora 35 Update: curl-7.79.1-1.fc35 - package-announce - Fedora Mailing-Lists | lists.fedoraproject.org | ||
| cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf | CONFIRM | cert-portal.siemens.com | |
| Debian -- Security Information -- DSA-5197-1 curl | DEBIAN | www.debian.org | |
| HackerOne | MISC | hackerone.com | |
| [SECURITY] [DLA 3085-1] curl security update | MLIST | lists.debian.org | |
| About the security content of macOS Monterey 12.3 - Apple Support (PH) | CONFIRM | support.apple.com | |
| Oracle Critical Patch Update Advisory - July 2022 | N/A | www.oracle.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
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)