A user can tell curl >= 7.20.0 and <= 7.78.0 to require a...
High severity
Unreviewed
Published
May 24, 2022
to the GitHub Advisory Database
•
Updated Apr 7, 2024
Description
Published by the National Vulnerability Database
Sep 29, 2021
Published to the GitHub Advisory Database
May 24, 2022
Last updated
Apr 7, 2024
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 orCURLOPT_USE_SSL
set toCURLUSESSL_CONTROL
orCURLUSESSL_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.References