QID 352874

Date Published: 2021-11-18

QID 352874: Amazon Linux Security Advisory for curl : ALAS-2021-1549

A flaw was found in curl.
This flaw lies in the --ssl-reqd option or related settings in libcurl.
Users specify this flag to upgrade to tls when communicating with either imap, pop3 or a ftp server.
An attacker controlling such servers could return a crafted response which could lead to curl client continue its operation without tls encryption leading to data being transmitted in clear text over the network.
The highest threat from this vulnerability is to data confidentiality. (
( CVE-2021-22946) a flaw was found in curl.
The flaw lies in how curl handles cached or pipelined responses that it receives from either a imap, pop3, smtp or ftp server before the tls upgrade using starttls.
In such a scenario curl even after upgrading to tls would trust these cached responses treating them as valid and authenticated and use them.
An attacker could potentially use this flaw to carry out a man-in-the-middle attack.
( CVE-2021-22947)



Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

Allows unauthorized disclosure of information; allows unauthorized modification; allows disruption of service.

  • CVSS V3 rated as High - 7.5 severity.
  • CVSS V2 rated as Medium - 5 severity.
  • Solution
    Please refer to Amazon advisory: ALAS-2021-1549 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 352874

    Software Advisories
    Advisory ID Software Component Link
    ALAS-2021-1549 Amazon Linux URL Logo alas.aws.amazon.com/ALAS-2021-1549.html