CVE-2021-22946

State
Published
Severity
7.5 High
Published
Sep 29, 2021
Updated
Oct 14, 2026
Reserved
Jan 6, 2021

Read the record on cve.org

Description

A user can tell curl >= 7.20.0 and <= 7.78.0 to require a successful upgrade to TLS when speaking to an IMAP, POP3 or FTP server (`--ssl-reqd` on the command line or`CURLOPT_USE_SSL` set to `CURLUSESSL_CONTROL` or `CURLUSESSL_ALL` withlibcurl). This requirement could be bypassed if the server would return a properly crafted but perfectly legitimate response.This flaw would then make curl silently continue its operations **withoutTLS** contrary to the instructions and expectations, exposing possibly sensitive data in clear text over the network.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NCISA-ADP

Weaknesses

  • CWE-325 Missing Required Cryptographic Step (CWE-325)
  • CWE-319 Cleartext Transmission of Sensitive Information

Affected Products

ProductVersions
https://github.com/curl/curln/a
  • curl 7.20.0 to and including 7.78.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.