Skip to content
OpenAdvisories
Medium ALAS2-2022-1875 5 CVEs

Moderate: curl security update (Amazon Linux 2)

Published Oct 31, 2022 · Updated Nov 8, 2022

Summary

Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2022-35252: A vulnerability found in curl. This security flaw happens when curl is used to retrieve and parse cookies from an HTTP(S) server, where it accepts cookies using control codes (byte values below 32), and also when cookies that contain such control codes are later sent back to an HTTP(S) server, possibly causing the server to return a 400 response. This issue effectively allows a "sister site" to deny service to siblings and cause a denial of service attack. CVE-2022-32208: A vulnerability was found in curl. This issue occurs because it mishandles message verification failures when curl does FTP transfers secured by krb5. This flaw makes it possible for a Man-in-the-middle attack to go unnoticed and allows data injection into the client. CVE-2022-32207: A vulnerability was found in curl. This issue occurs because when curl saves cookies, alt-svc, and HSTS data to local files, it makes the operation atomic by finalizing the process with a rename from a temporary name to the final target file name. This flaw leads to unpreserved file permissions, either by mistake or by a malicious actor. CVE-2022-32206: A vulnerability was found in curl. This issue occurs because the number of acceptable "links" in the "decompression chain" was unbounded, allowing a malicious server to insert a virtually unlimited number of compression steps. This flaw leads to a denial of service, either by mistake or by a malicious actor. CVE-2022-32205: A vulnerability was found in curl. This issue occurs because a malicious server can serve excessive amounts of `Set-Cookie:` headers in an HTTP response to curl, which stores all of them. This flaw leads to a denial of service, either by mistake or by a malicious actor.

Fixed packages 4

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

Vulnerabilities 5

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2022-32205.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2022-32206.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2022-32207.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2022-32208.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2022-35252.html