Skip to content

CVE-2021-22901 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....

HighCVSS 8.1 EPSS 63.5%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: total
Technology
MySQLOpenSSLUbuntuDebian

Description

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.

Upgrade path

44 packages: 23 fixed, 16 with no fix yet.

PackageAffectedFixed inStatus
netapp active iq unified manager All versions No fix listed No fix yet
netapp cloud backup All versions No fix listed No fix yet
netapp h300e firmware All versions No fix listed No fix yet
netapp h300s firmware All versions No fix listed No fix yet
netapp h410s firmware All versions No fix listed No fix yet
netapp h500e firmware All versions No fix listed No fix yet
netapp h500s firmware All versions No fix listed No fix yet
netapp h700e firmware All versions No fix listed No fix yet
netapp h700s firmware All versions No fix listed No fix yet
netapp hci compute node firmware All versions No fix listed No fix yet
netapp oncommand insight All versions No fix listed No fix yet
netapp oncommand workflow automation All versions No fix listed No fix yet
netapp snapcenter All versions No fix listed No fix yet
netapp solidfire baseboard management controller firmware All versions No fix listed No fix yet
netapp solidfire enterprise sds hci storage node All versions No fix listed No fix yet
netapp solidfire hci management node All versions No fix listed No fix yet
alpine/curl(Alpine v3.12) >= 7.75.0, < 7.77.0-r0 7.77.0-r0 Fixed
alpine/curl(Alpine v3.13) >= 7.75.0, < 7.77.0-r0 7.77.0-r0 Fixed
alpine/curl(Alpine v3.14) >= 7.75.0, < 7.77.0-r0 7.77.0-r0 Fixed
alpine/curl(Alpine v3.15) >= 7.75.0, < 7.77.0-r0 7.77.0-r0 Fixed
alpine/curl(Alpine v3.16) >= 7.75.0, < 7.77.0-r0 7.77.0-r0 Fixed
alpine/curl(Alpine v3.17) >= 7.75.0, < 7.77.0-r0 7.77.0-r0 Fixed
alpine/curl(Alpine v3.18) >= 7.75.0, < 7.77.0-r0 7.77.0-r0 Fixed
alpine/curl(Alpine v3.19) >= 7.75.0, < 7.77.0-r0 7.77.0-r0 Fixed
alpine/curl(Alpine v3.20) >= 7.75.0, < 7.77.0-r0 7.77.0-r0 Fixed
alpine/curl(Alpine v3.21) >= 7.75.0, < 7.77.0-r0 7.77.0-r0 Fixed
alpine/curl(Alpine v3.22) >= 7.75.0, < 7.77.0-r0 7.77.0-r0 Fixed
alpine/curl(Alpine v3.23) >= 7.75.0, < 7.77.0-r0 7.77.0-r0 Fixed
alpine/curl(Alpine v3.24) >= 7.75.0, < 7.77.0-r0 7.77.0-r0 Fixed
haxx curl >= 7.75.0, <= 7.76.1 after 7.76.1 Fixed

… and 14 more packages.

Affected products

ProductAffected versionsFixed in
alpine/curl(Alpine:v3.12) >= 7.75.0, < 7.77.0-r0 7.77.0-r0
alpine/curl(Alpine:v3.13) >= 7.75.0, < 7.77.0-r0 7.77.0-r0
alpine/curl(Alpine:v3.14) >= 7.75.0, < 7.77.0-r0 7.77.0-r0
alpine/curl(Alpine:v3.15) >= 7.75.0, < 7.77.0-r0 7.77.0-r0
alpine/curl(Alpine:v3.16) >= 7.75.0, < 7.77.0-r0 7.77.0-r0
alpine/curl(Alpine:v3.17) >= 7.75.0, < 7.77.0-r0 7.77.0-r0
alpine/curl(Alpine:v3.18) >= 7.75.0, < 7.77.0-r0 7.77.0-r0
alpine/curl(Alpine:v3.19) >= 7.75.0, < 7.77.0-r0 7.77.0-r0
alpine/curl(Alpine:v3.20) >= 7.75.0, < 7.77.0-r0 7.77.0-r0
alpine/curl(Alpine:v3.21) >= 7.75.0, < 7.77.0-r0 7.77.0-r0
alpine/curl(Alpine:v3.22) >= 7.75.0, < 7.77.0-r0 7.77.0-r0
alpine/curl(Alpine:v3.23) >= 7.75.0, < 7.77.0-r0 7.77.0-r0
alpine/curl(Alpine:v3.24) >= 7.75.0, < 7.77.0-r0 7.77.0-r0
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP >= V3.1.0, < V3.1.5 V3.1.5
Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP >= V3.1.0, < V3.1.5 V3.1.5
Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP >= V3.1.0, < V3.1.5 V3.1.5
haxx curl >= 7.75.0, <= 7.76.1 No fix listed
oracle communications cloud native core binding support function = 1.11.0 No fix listed
oracle communications cloud native core network function cloud native environment = 1.10.0 No fix listed
oracle communications cloud native core network repository function = 1.15.0 No fix listed
oracle communications cloud native core network repository function = 1.15.1 No fix listed
oracle communications cloud native core network slice selection function = 1.8.0 No fix listed
oracle communications cloud native core service communication proxy = 1.15.0 No fix listed
oracle essbase < 11.1.2.4.047 11.1.2.4.047
oracle essbase >= 21.0, < 21.3 21.3
Show 49 more
ProductAffected versionsFixed in
oracle mysql server <= 5.7.34 No fix listed
oracle mysql server >= 8.0.0, <= 8.0.25 No fix listed
netapp active iq unified manager All versions No fix listed
netapp cloud backup All versions No fix listed
netapp oncommand insight All versions No fix listed
netapp oncommand workflow automation All versions No fix listed
netapp snapcenter All versions No fix listed
netapp solidfire enterprise sds hci storage node All versions No fix listed
netapp solidfire hci management node All versions No fix listed
netapp solidfire baseboard management controller firmware All versions No fix listed
netapp hci compute node firmware All versions No fix listed
netapp h300e firmware All versions No fix listed
netapp h300s firmware All versions No fix listed
netapp h410s firmware All versions No fix listed
netapp h500e firmware All versions No fix listed
netapp h500s firmware All versions No fix listed
netapp h700e firmware All versions No fix listed
netapp h700s firmware All versions No fix listed
Siemens sinec infrastructure network services < 1.0.1.1 1.0.1.1
Splunk Universal Forwarder >= 8.2.0, < 8.2.12 8.2.12
Splunk Universal Forwarder >= 9.0.0, < 9.0.6 9.0.6
Splunk Universal Forwarder = 9.1.0 No fix listed
ubuntu/curl(Ubuntu:18.04) < 7.58.0-2ubuntu3.13 7.58.0-2ubuntu3.13
ubuntu/curl(Ubuntu:18.04) = 7.55.1-1ubuntu2 No fix listed
ubuntu/curl(Ubuntu:18.04) = 7.55.1-1ubuntu2.1 No fix listed
ubuntu/curl(Ubuntu:18.04) = 7.57.0-1ubuntu1 No fix listed
ubuntu/curl(Ubuntu:18.04) = 7.58.0-2ubuntu1 No fix listed
ubuntu/curl(Ubuntu:18.04) = 7.58.0-2ubuntu2 No fix listed
ubuntu/curl(Ubuntu:18.04) = 7.58.0-2ubuntu3 No fix listed
ubuntu/curl(Ubuntu:18.04) = 7.58.0-2ubuntu3.1 No fix listed
ubuntu/curl(Ubuntu:18.04) = 7.58.0-2ubuntu3.2 No fix listed
ubuntu/curl(Ubuntu:18.04) = 7.58.0-2ubuntu3.3 No fix listed
ubuntu/curl(Ubuntu:18.04) = 7.58.0-2ubuntu3.5 No fix listed
ubuntu/curl(Ubuntu:18.04) = 7.58.0-2ubuntu3.6 No fix listed
ubuntu/curl(Ubuntu:18.04) = 7.58.0-2ubuntu3.7 No fix listed
ubuntu/curl(Ubuntu:18.04) = 7.58.0-2ubuntu3.8 No fix listed
ubuntu/curl(Ubuntu:18.04) = 7.58.0-2ubuntu3.9 No fix listed
ubuntu/curl(Ubuntu:18.04) = 7.58.0-2ubuntu3.10 No fix listed
ubuntu/curl(Ubuntu:18.04) = 7.58.0-2ubuntu3.12 No fix listed
ubuntu/curl(Ubuntu:20.04) < 7.68.0-1ubuntu2.5 7.68.0-1ubuntu2.5
ubuntu/curl(Ubuntu:20.04) = 7.65.3-1ubuntu3 No fix listed
ubuntu/curl(Ubuntu:20.04) = 7.65.3-1ubuntu4 No fix listed
ubuntu/curl(Ubuntu:20.04) = 7.66.0-1ubuntu1 No fix listed
ubuntu/curl(Ubuntu:20.04) = 7.67.0-2ubuntu1 No fix listed
ubuntu/curl(Ubuntu:20.04) = 7.68.0-1ubuntu1 No fix listed
ubuntu/curl(Ubuntu:20.04) = 7.68.0-1ubuntu2 No fix listed
ubuntu/curl(Ubuntu:20.04) = 7.68.0-1ubuntu2.1 No fix listed
ubuntu/curl(Ubuntu:20.04) = 7.68.0-1ubuntu2.2 No fix listed
ubuntu/curl(Ubuntu:20.04) = 7.68.0-1ubuntu2.4 No fix listed

References