CVE-2021-22947

Medium

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.

SeverityMedium
CVSS5.9
Exploit probability—
ProductHaxx Curl
PublishedSep 29, 2021
First seenSep 29, 2021
Weakness typeCWE-310CWE-310

How to fix

Affected products

ProductAffected versionsFixed in
haxx curl7.20.0 ≤ v < 7.79.07.79.0
fedoraproject fedora33, 35—
debian debian_linux9.0, 10.0, 11.0—
netapp cloud_backupNo range specified—
netapp clustered_data_ontapNo range specified—
netapp h300s_firmwareNo range specified—
netapp h500s_firmwareNo range specified—
netapp h700s_firmwareNo range specified—
netapp h300e_firmwareNo range specified—
netapp h500e_firmwareNo range specified—
netapp h700e_firmwareNo range specified—
netapp h410s_firmwareNo range specified—
netapp solidfire_baseboard_management_controller_firmwareNo range specified—
oracle communications_cloud_native_core_binding_support_function1.11.0, 22.1.3—
oracle communications_cloud_native_core_network_function_cloud_native_environment1.10.0—
oracle communications_cloud_native_core_network_repository_function1.15.0, 1.15.1, 22.1.2, 22.2.0—
oracle communications_cloud_native_core_network_slice_selection_function1.8.0—
oracle communications_cloud_native_core_service_communication_proxy1.15.0—
oracle mysql_server5.7.0 ≤ v ≤ 5.7.35, 8.0.0 ≤ v ≤ 8.0.26—
oracle peoplesoft_enterprise_peopletools8.57, 8.58, 8.59—
siemens sinec_infrastructure_network_servicesv < 1.0.1.11.0.1.1
apple macosv < 12.312.3
oracle commerce_guided_search11.3.2—
oracle communications_cloud_native_core_console22.2.0—
oracle communications_cloud_native_core_security_edge_protection_proxy22.1.1—
splunk universal_forwarder8.2.0 ≤ v < 8.2.12, 9.0.0 ≤ v < 9.0.6, 9.1.08.2.12, 9.0.6

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.