CVE-2021-22901

Updated: 2024-11-30 02:34:42.842711

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.


Links NIST CIRCL RHEL Ubuntu

Severity

Severity Score
CVSS Version 2.x MEDIUM 6.8
CVSS Version 3.x HIGH 8.1

Status

OS name Project name Version Score Severity Status Errata Last updated

Statement

AlmaLinux 9.2 ESU curl 7.76.1 8.1 HIGH Not Vulnerable 2023-11-08 08:36:10
CentOS 6 ELS mysql 5.1.73 8.1 HIGH Not Vulnerable 2022-04-19 21:50:19
CentOS 6 ELS curl 7.19.7 8.1 HIGH Not Vulnerable 2022-04-19 21:49:46
CentOS 8.4 ELS mysql 8.0.26 8.1 HIGH Not Vulnerable 2022-07-18 17:01:42
CentOS 8.5 ELS mysql 8.0.26 8.1 HIGH Not Vulnerable 2022-07-18 17:01:42
CloudLinux 6 ELS curl 7.19.7 8.1 HIGH Not Vulnerable 2022-04-19 21:49:46
CloudLinux 6 ELS mysql 5.1.73 8.1 HIGH Not Vulnerable 2022-04-19 21:50:19
Oracle Linux 6 ELS curl 7.19.7 8.1 HIGH Not Vulnerable 2022-04-19 21:49:46
Oracle Linux 6 ELS mysql 5.1.73 8.1 HIGH Not Vulnerable 2022-04-19 21:50:19
Ubuntu 16.04 ELS curl 7.47.0 8.1 HIGH Not Vulnerable 2022-04-19 21:49:46
Total: 12