ALAS2-2023-1924

Related Vulnerabilities: CVE-2022-27781   CVE-2022-43551   CVE-2022-43552  

A vulnerability was found in curl. This issue occurs due to an erroneous function. A malicious server could make curl within Network Security Services (NSS) get stuck in a never-ending busy loop when trying to retrieve that information. This flaw allows an Infinite Loop, affecting system availability. (CVE-2022-27781) A vulnerability was found in curl. The issue can occur when curl's HSTS check is bypassed to trick it to keep using HTTP. Using its HSTS support, curl can be instructed to use HTTPS instead of an insecure clear-text HTTP step even when providing HTTP in the URL. Suppose the hostname in the given URL first uses IDN characters that get replaced with ASCII counterparts as part of the IDN conversion. In that case, it can bypass the HSTS mechanism using the character UTF-8 U+3002 (IDEOGRAPHIC FULL STOP) instead of the common ASCII full stop (U+002E). Then in a subsequent request, it does not detect the HSTS state and makes a clear text transfer. Because it would store the information, IDN encoded but looked for it as IDN decoded. (CVE-2022-43551) A vulnerability was found in curl. In this issue, curl can be asked to tunnel all protocols virtually it supports through an HTTP proxy. HTTP proxies can deny these tunnel operations using an appropriate HTTP error response code. When getting denied to tunnel the specific SMB or TELNET protocols, curl can use a heap-allocated struct after it has been freed and shut down the code path in its transfer. (CVE-2022-43552)

ALAS2-2023-1924


Amazon Linux 2 Security Advisory: ALAS-2023-1924
Advisory Release Date: 2023-01-30 16:02 Pacific
Advisory Updated Date: 2023-02-04 18:27 Pacific
Severity: Medium

Issue Overview:

A vulnerability was found in curl. This issue occurs due to an erroneous function. A malicious server could make curl within Network Security Services (NSS) get stuck in a never-ending busy loop when trying to retrieve that information. This flaw allows an Infinite Loop, affecting system availability. (CVE-2022-27781)

A vulnerability was found in curl. The issue can occur when curl's HSTS check is bypassed to trick it to keep using HTTP. Using its HSTS support, curl can be instructed to use HTTPS instead of an insecure clear-text HTTP step even when providing HTTP in the URL. Suppose the hostname in the given URL first uses IDN characters that get replaced with ASCII counterparts as part of the IDN conversion. In that case, it can bypass the HSTS mechanism using the character UTF-8 U+3002 (IDEOGRAPHIC FULL STOP) instead of the common ASCII full stop (U+002E). Then in a subsequent request, it does not detect the HSTS state and makes a clear text transfer. Because it would store the information, IDN encoded but looked for it as IDN decoded. (CVE-2022-43551)

A vulnerability was found in curl. In this issue, curl can be asked to tunnel all protocols virtually it supports through an HTTP proxy. HTTP proxies can deny these tunnel operations using an appropriate HTTP error response code. When getting denied to tunnel the specific SMB or TELNET protocols, curl can use a heap-allocated struct after it has been freed and shut down the code path in its transfer. (CVE-2022-43552)


Affected Packages:

curl


Issue Correction:
pkg_manager = 'yum'Run update curl to update your system.

New Packages:
aarch64:
    curl-7.87.0-2.amzn2.0.1.aarch64
    libcurl-7.87.0-2.amzn2.0.1.aarch64
    libcurl-devel-7.87.0-2.amzn2.0.1.aarch64
    curl-debuginfo-7.87.0-2.amzn2.0.1.aarch64

i686:
    curl-7.87.0-2.amzn2.0.1.i686
    libcurl-7.87.0-2.amzn2.0.1.i686
    libcurl-devel-7.87.0-2.amzn2.0.1.i686
    curl-debuginfo-7.87.0-2.amzn2.0.1.i686

src:
    curl-7.87.0-2.amzn2.0.1.src

x86_64:
    curl-7.87.0-2.amzn2.0.1.x86_64
    libcurl-7.87.0-2.amzn2.0.1.x86_64
    libcurl-devel-7.87.0-2.amzn2.0.1.x86_64
    curl-debuginfo-7.87.0-2.amzn2.0.1.x86_64