Skip to content
OpenAdvisories
Medium ALAS2-2021-1724 3 CVEs

Moderate: curl security update (Amazon Linux 2)

Published Dec 8, 2021 · Updated Dec 9, 2021

Summary

Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2021-22947: 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. The highest threat from this vulnerability is to data confidentiality. 2003191: CVE-2021-22947 curl: Server responses received before STARTTLS processed after TLS handshake CVE-2021-22946: 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. 2003175: CVE-2021-22946 curl: Requirement to use TLS not properly enforced for IMAP, POP3, and FTP protocols CVE-2021-22945: 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. 2001527: CVE-2021-22945 curl: use-after-free and double-free in MQTT sending

Fixed packages 4

ReleasePackageFixed in
Amazon Linux · 2 curl 0:7.79.1-1.amzn2.0.1
Amazon Linux · 2 curl-debuginfo 0:7.79.1-1.amzn2.0.1
Amazon Linux · 2 libcurl 0:7.79.1-1.amzn2.0.1
Amazon Linux · 2 libcurl-devel 0:7.79.1-1.amzn2.0.1

Vulnerabilities 3

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2021-22945.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2021-22946.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2021-22947.html