PT-2021-4653 · Curl+10 · Curl+10

Published

2021-09-15

·

Updated

2026-05-18

·

CVE-2021-22947

CVSS v2.0

8.5

High

VectorAV:N/AC:L/Au:N/C:P/I:C/A:N
Name of the Vulnerable Software and Affected Versions curl versions 7.20.0 through 7.78.0
Description The issue concerns the implementation of the STARTTLS protocol in curl, which can lead to insufficient authentication of data. This allows a Man-In-The-Middle attacker to inject fake responses before the TLS handshake, and then pass through the legitimate server's TLS traffic, tricking curl into trusting the attacker's injected data as if it came from the TLS-protected server. Over POP3 and IMAP, an attacker can inject fake response data.
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 restricting the use of the STARTTLS protocol until a patch is available. Avoid using the vulnerable protocol to minimize the risk of exploitation.

Exploit

Fix

RCE

Insufficient Verification of Data Authenticity

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-2171
ALT-PU-2023-1912
AZL-6366
BDU:2021-05346
CESA-2021_4059
CLEANSTART-2026-AY18527
CLEANSTART-2026-BW46578
CLEANSTART-2026-DI23929
CLEANSTART-2026-LQ42192
CLEANSTART-2026-OF85770
CVE-2021-22947
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
USN-5079-1
USN-5079-2
USN-5079-3
USN-5079-4

Affected Products

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