CVE-2021-22947CWE-345

CVE-2021-22947

Medium · published September 30, 2021

CVSS v3.1
5.9
EPSS
3%
Percentile
87.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.9 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.03009 · 87.3th percentile
Weakness
CWE-345 · Insufficient Verification of Data Authenticity
Published
2021-09-30T00:15Z
Affected products (38)
ProductVersionsFixed in
haxx/curl≥ 7.20.0, < 7.79.07.79.0
fedoraproject/fedoraall versions—
fedoraproject/fedoraall versions—
debian/debian_linuxall versions—
debian/debian_linuxall versions—
debian/debian_linuxall versions—
netapp/cloud_backupall versions—
netapp/clustered_data_ontapall versions—
netapp/h300s_firmwareall versions—
netapp/h500s_firmwareall versions—
netapp/h700s_firmwareall versions—
netapp/h300e_firmwareall versions—
netapp/h500e_firmwareall versions—
netapp/h700e_firmwareall versions—
netapp/h410s_firmwareall versions—
netapp/solidfire_baseboard_management_controller_firmwareall versions—
oracle/communications_cloud_native_core_binding_support_functionall versions—
oracle/communications_cloud_native_core_network_function_cloud_native_environmentall versions—
oracle/communications_cloud_native_core_network_repository_functionall versions—
oracle/communications_cloud_native_core_network_repository_functionall versions—
oracle/communications_cloud_native_core_network_slice_selection_functionall versions—
oracle/communications_cloud_native_core_service_communication_proxyall versions—
oracle/mysql_server≥ 5.7.0, ≤ 5.7.35—
oracle/mysql_server≥ 8.0.0, ≤ 8.0.26—
oracle/peoplesoft_enterprise_peopletoolsall versions—
oracle/peoplesoft_enterprise_peopletoolsall versions—
oracle/peoplesoft_enterprise_peopletoolsall versions—
siemens/sinec_infrastructure_network_services< 1.0.1.11.0.1.1
apple/macos< 12.312.3
oracle/commerce_guided_searchall versions—
oracle/communications_cloud_native_core_binding_support_functionall versions—
oracle/communications_cloud_native_core_consoleall versions—
oracle/communications_cloud_native_core_network_repository_functionall versions—
oracle/communications_cloud_native_core_network_repository_functionall versions—
oracle/communications_cloud_native_core_security_edge_protection_proxyall versions—
splunk/universal_forwarder≥ 8.2.0, < 8.2.128.2.12
splunk/universal_forwarder≥ 9.0.0, < 9.0.69.0.6
splunk/universal_forwarderall versions—
References (32)
http://seclists.org/fulldisclosure/2022/Mar/29 · [email protected]https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf · [email protected]https://hackerone.com/reports/1334763 · [email protected]https://lists.debian.org/debian-lts-announce/2021/09/msg00022.html · [email protected]https://lists.debian.org/debian-lts-announce/2022/08/msg00017.html · [email protected]https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/APOAK4X73EJTAPTSVT7IRVDMUWVXNWGD/ · [email protected]https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RWLEC6YVEM2HWUBX67SDGPSY4CQB72OE/ · [email protected]https://security.gentoo.org/glsa/202212-01 · [email protected]https://security.netapp.com/advisory/ntap-20211029-0003/ · [email protected]https://support.apple.com/kb/HT213183 · [email protected]https://www.debian.org/security/2022/dsa-5197 · [email protected]https://www.oracle.com/security-alerts/cpuapr2022.html · [email protected]https://www.oracle.com/security-alerts/cpujan2022.html · [email protected]https://www.oracle.com/security-alerts/cpujul2022.html · [email protected]https://www.oracle.com/security-alerts/cpuoct2021.html · [email protected]http://seclists.org/fulldisclosure/2022/Mar/29 · af854a3a-2127-422b-91ae-364da2661108https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf · af854a3a-2127-422b-91ae-364da2661108https://hackerone.com/reports/1334763 · af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2021/09/msg00022.html · af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2022/08/msg00017.html · af854a3a-2127-422b-91ae-364da2661108https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/APOAK4X73EJTAPTSVT7IRVDMUWVXNWGD/ · af854a3a-2127-422b-91ae-364da2661108https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RWLEC6YVEM2HWUBX67SDGPSY4CQB72OE/ · af854a3a-2127-422b-91ae-364da2661108https://security.gentoo.org/glsa/202212-01 · af854a3a-2127-422b-91ae-364da2661108https://security.netapp.com/advisory/ntap-20211029-0003/ · af854a3a-2127-422b-91ae-364da2661108https://support.apple.com/kb/HT213183 · af854a3a-2127-422b-91ae-364da2661108https://www.debian.org/security/2022/dsa-5197 · af854a3a-2127-422b-91ae-364da2661108https://www.oracle.com/security-alerts/cpuapr2022.html · af854a3a-2127-422b-91ae-364da2661108https://www.oracle.com/security-alerts/cpujan2022.html · af854a3a-2127-422b-91ae-364da2661108https://www.oracle.com/security-alerts/cpujul2022.html · af854a3a-2127-422b-91ae-364da2661108https://www.oracle.com/security-alerts/cpuoct2021.html · af854a3a-2127-422b-91ae-364da2661108https://cert-portal.siemens.com/productcert/html/ssa-389290.html · 0b142b55-0307-4c5a-b3c9-f314f3fb7c5ehttps://cert-portal.siemens.com/productcert/html/ssa-398330.html · 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
EPSS history
Timeline
  • 29 SEP 00:00Z
    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…
    cvelistv5