PT-2021-5820 · Curl+5 · Curl+5

Mingtao

·

Published

2021-03-17

·

Updated

2026-05-18

·

CVE-2021-22890

CVSS v2.0

4.3

Medium

VectorAV:N/AC:M/Au:N/C:N/I:P/A:N
Name of the Vulnerable Software and Affected Versions curl versions 7.63.0 through 7.75.0
Description The issue is related to the incorrect handling of TLS 1.3 session tickets, which can allow a malicious HTTPS proxy to perform a man-in-the-middle (MITM) attack. When using an HTTPS proxy and TLS 1.3, libcurl can confuse session tickets arriving from the HTTPS proxy but work as if they arrived from the remote server, leading to a wrong "short-cut" of the host handshake. This can enable the HTTPS proxy to trick libcurl into using the wrong session ticket resume for the host, thereby circumventing the server TLS certificate check and making a MITM attack possible to perform unnoticed. A malicious HTTPS proxy needs to provide a certificate that curl will accept for the MITMed server for an attack to work, unless curl has been told to ignore the server certificate check.
Recommendations For curl versions 7.63.0 through 7.75.0, consider disabling the use of TLS 1.3 session tickets as a temporary workaround until a patch is available. Restrict access to the HTTPS proxy to minimize the risk of exploitation. Avoid using the session ticket parameter in the affected API endpoint until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Authentication Bypass by Spoofing

Weakness Enumeration

Related Identifiers

ALT-PU-2021-1581
ALT-PU-2021-1601
ALT-PU-2021-2146
BDU:2022-00312
CLEANSTART-2026-AY18527
CLEANSTART-2026-BW46578
CLEANSTART-2026-DI23929
CLEANSTART-2026-LQ42192
CLEANSTART-2026-OF85770
CVE-2021-22890
DSA-4881-1
JLSEC-2025-27
MGASA-2021-0186
OESA-2021-1170
OPENSUSE-SU-2021:0510-1
OPENSUSE-SU-2021_0510-1
OPENSUSE-SU-2024:10582-1
RHSA-2021:2472
SUSE-SU-2021:1006-1
USN-4898-1

Affected Products

Alt Linux
Astra Linux
Linuxmint
Suse
Ubuntu
Curl