PT-2021-4913 · Curl+10 · Curl+10

Published

2021-09-15

·

Updated

2026-05-18

·

CVE-2021-22946

CVSS v2.0

8.5

High

VectorAV:N/AC:L/Au:N/C:C/I:P/A:N
Name of the Vulnerable Software and Affected Versions curl versions 7.20.0 through 7.78.0
Description The issue allows an attacker to bypass the requirement for a successful upgrade to TLS when speaking to an IMAP, POP3, or FTP server. This can be achieved if the server returns a properly crafted but perfectly legitimate response. As a result, curl may silently continue its operations without TLS, contrary to the instructions and expectations, potentially exposing sensitive data in clear text over the network. The vulnerability can be exploited by a remote attacker to conduct man-in-the-middle attacks.
Recommendations For curl versions 7.20.0 through 7.78.0, update to version 7.79.1 or later to resolve the issue. As a temporary workaround, consider disabling the --ssl-reqd option or the CURLOPT USE SSL configuration until a patch is available. Restrict access to the vulnerable libcurl component to minimize the risk of exploitation. Avoid using the CURLOPT USE SSL option with CURLUSESSL CONTROL or CURLUSESSL ALL settings until the issue is resolved.

Exploit

Fix

DoS

Cleartext Transmission of Sensitive Information

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALT-PU-2021-2804
ALT-PU-2021-2856
ALT-PU-2021-2908
ALT-PU-2021-3241
ALT-PU-2021-3666
ALT-PU-2022-1100
ALT-PU-2022-2171
ALT-PU-2023-1912
AZL-6365
BDU:2021-05649
CESA-2021_4059
CLEANSTART-2026-AY18527
CLEANSTART-2026-BW46578
CLEANSTART-2026-DI23929
CLEANSTART-2026-LQ42192
CLEANSTART-2026-OF85770
CVE-2021-22946
DLA-2773-1
DLA-3085-1
DSA-5197-1
MGASA-2021-0438
OESA-2021-1382
OPENSUSE-SU-2021:1384-1
OPENSUSE-SU-2021:3298-1
OPENSUSE-SU-2021_1384-1
OPENSUSE-SU-2021_3298-1
OPENSUSE-SU-2024:10582-1
RHSA-2021:4059
RHSA-2021_4059
RHSA-2022:0635
RHSA-2022:1354
RLSA-2021:4059
SUSE-SU-2021:14807-1
SUSE-SU-2021:3297-1
SUSE-SU-2021:3298-1
SUSE-SU-2021:3332-1
SUSE-SU-2021:3351-1
SUSE-SU-2021_14807-1
SUSE-SU-2021_3297-1
SUSE-SU-2021_3298-1
SUSE-SU-2021_3332-1
SUSE-SU-2021_3351-1
USN-5079-1
USN-5079-2
USN-5079-3
USN-5079-4

Affected Products

Alt Linux
Astra Linux
Centos
Linuxmint
Apple Macos
Mysql Server
Red Hat
Rocky Linux
Suse
Ubuntu
Curl