ALAS-2022-206


Amazon Linux 2022 Security Advisory: ALAS-2022-206
Advisory Release Date: 2022-11-01 21:25 Pacific
Advisory Updated Date: 2022-12-06 16:47 Pacific
Severity: Medium

Issue Overview:

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. (CVE-2022-32205)

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-32206)

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-32207)

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-32208)

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-35252)


Affected Packages:

curl


Issue Correction:
Run dnf update curl --releasever=2022.0.20221102 to update your system.

New Packages:
aarch64:
    curl-debuginfo-7.85.0-1.amzn2022.0.1.aarch64
    libcurl-debuginfo-7.85.0-1.amzn2022.0.1.aarch64
    curl-debugsource-7.85.0-1.amzn2022.0.1.aarch64
    libcurl-minimal-7.85.0-1.amzn2022.0.1.aarch64
    curl-7.85.0-1.amzn2022.0.1.aarch64
    curl-minimal-7.85.0-1.amzn2022.0.1.aarch64
    libcurl-minimal-debuginfo-7.85.0-1.amzn2022.0.1.aarch64
    libcurl-7.85.0-1.amzn2022.0.1.aarch64
    curl-minimal-debuginfo-7.85.0-1.amzn2022.0.1.aarch64
    libcurl-devel-7.85.0-1.amzn2022.0.1.aarch64

src:
    curl-7.85.0-1.amzn2022.0.1.src

x86_64:
    curl-debuginfo-7.85.0-1.amzn2022.0.1.x86_64
    curl-7.85.0-1.amzn2022.0.1.x86_64
    libcurl-debuginfo-7.85.0-1.amzn2022.0.1.x86_64
    libcurl-minimal-debuginfo-7.85.0-1.amzn2022.0.1.x86_64
    libcurl-minimal-7.85.0-1.amzn2022.0.1.x86_64
    curl-minimal-7.85.0-1.amzn2022.0.1.x86_64
    curl-debugsource-7.85.0-1.amzn2022.0.1.x86_64
    curl-minimal-debuginfo-7.85.0-1.amzn2022.0.1.x86_64
    libcurl-7.85.0-1.amzn2022.0.1.x86_64
    libcurl-devel-7.85.0-1.amzn2022.0.1.x86_64