CVE-2021-22901CWE-416

CVE-2021-22901

High · published June 11, 2021

Patch now

High probability of exploitation

CVSS calls it high at 8.1. It sits in the 99.2th percentile for exploit probability.

CVSS v3.1
8.1
EPSS
64%
Percentile
99.2
In the wild
Unconfirmed
What it is

curl 7.75.0 through 7.76.1 suffers from a use-after-free vulnerability resulting in already freed memory being used when a TLS 1.3 session ticket arrives over a connection. A malicious server can use this in rare unfortunate circumstances to potentially reach remote code execution in the client. When libcurl at run-time sets up support for TLS 1.3 session tickets on a connection using OpenSSL, it stores pointers to the transfer in-memory object for later retrieval when a session ticket arrives. If the connection is used by multiple transfers (like with a reused HTTP/1.1 connection or multiplexed HTTP/2 connection) that first transfer object might be freed before the new session is established on that connection and then the function will access a memory buffer that might be freed. When using that memory, libcurl might even call a function pointer in the object, making it possible for a remote code execution if the server could somehow manage to get crafted memory content into the correct place in memory.

The record
Technical detail
CVSS v3.1
8.1 · HIGH
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.63531 · 99.2th percentile
Weakness
CWE-416 · Use After Free
Published
2021-06-11T20:15Z
Affected products (32)
ProductVersionsFixed in
haxx/curl≥ 7.75.0, ≤ 7.76.1—
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/essbase< 11.1.2.4.04711.1.2.4.047
oracle/essbase≥ 21.0, < 21.321.3
oracle/mysql_server≤ 5.7.34—
oracle/mysql_server≥ 8.0.0, ≤ 8.0.25—
oracle/communications_cloud_native_core_binding_support_functionall versions—
netapp/active_iq_unified_managerall versions—
netapp/active_iq_unified_managerall versions—
netapp/cloud_backupall versions—
netapp/oncommand_insightall versions—
netapp/oncommand_workflow_automationall versions—
netapp/snapcenterall versions—
netapp/solidfire\,_enterprise_sds_\&_hci_storage_nodeall versions—
netapp/solidfire_\&_hci_management_nodeall versions—
netapp/solidfire_baseboard_management_controller_firmwareall versions—
netapp/hci_compute_node_firmwareall versions—
netapp/h300e_firmwareall versions—
netapp/h300s_firmwareall versions—
netapp/h410s_firmwareall versions—
netapp/h500e_firmwareall versions—
netapp/h500s_firmwareall versions—
netapp/h700e_firmwareall versions—
netapp/h700s_firmwareall versions—
siemens/sinec_infrastructure_network_services< 1.0.1.11.0.1.1
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 (23)
https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf · [email protected]https://cert-portal.siemens.com/productcert/pdf/ssa-732250.pdf · [email protected]https://curl.se/docs/CVE-2021-22901.html · [email protected]https://github.com/curl/curl/commit/7f4a9a9b2a49547eae24d2e19bc5c346e9026479 · [email protected]https://hackerone.com/reports/1180380 · [email protected]https://security.netapp.com/advisory/ntap-20210723-0001/ · [email protected]https://security.netapp.com/advisory/ntap-20210727-0007/ · [email protected]https://www.oracle.com//security-alerts/cpujul2021.html · [email protected]https://www.oracle.com/security-alerts/cpuapr2022.html · [email protected]https://www.oracle.com/security-alerts/cpujan2022.html · [email protected]https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf · af854a3a-2127-422b-91ae-364da2661108https://cert-portal.siemens.com/productcert/pdf/ssa-732250.pdf · af854a3a-2127-422b-91ae-364da2661108https://curl.se/docs/CVE-2021-22901.html · af854a3a-2127-422b-91ae-364da2661108https://github.com/curl/curl/commit/7f4a9a9b2a49547eae24d2e19bc5c346e9026479 · af854a3a-2127-422b-91ae-364da2661108https://hackerone.com/reports/1180380 · af854a3a-2127-422b-91ae-364da2661108https://security.netapp.com/advisory/ntap-20210723-0001/ · af854a3a-2127-422b-91ae-364da2661108https://security.netapp.com/advisory/ntap-20210727-0007/ · af854a3a-2127-422b-91ae-364da2661108https://www.oracle.com//security-alerts/cpujul2021.html · 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://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-f314f3fb7c5ehttps://cert-portal.siemens.com/productcert/html/ssa-732250.html · 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
EPSS history
Timeline
  • 11 JUN 15:49Z
    curl 7.75.0 through 7.76.1 suffers from a use-after-free vulnerability resulting in already freed memory being used when a TLS 1.3 session ticket arrives over…
    cvelistv5