QID 353082

Date Published: 2021-12-10

QID 353082: Amazon Linux Security Advisory for curl : ALAS2-2021-1724

A flaw was found in libcurl.
When sending data to an mqtt server could in some situations lead to libcurl using already freed memory and then try to free it again.
The highest threat from this vulnerability is to data confidentiality as well as system availability. (
( CVE-2021-22945) 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.

Successful exploitation of this vulnerability could lead to a securitybreach or could affect integrity, availability, and confidentiality.

  • CVSS V3 rated as Critical - 9.1 severity.
  • CVSS V2 rated as Medium - 5.8 severity.
  • Solution
    Please refer to Amazon advisory: ALAS2-2021-1724 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 353082

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