ALAS2023-2023-429


Amazon Linux 2023 Security Advisory: ALAS2023-2023-429
Advisory Released Date: 2023-11-14
Advisory Updated Date: 2023-12-06
Severity: Important

Issue Overview:

When Squid is compiled with SSL support (i.e. where it can encrypt/decrypt requests/responses rather than using a CONNECT tunnel), the function check_domain is used to check whether a request domain’s name is the same domain (or is equally valid) as in the certificate the server offers. While zero-length domains are rejected before the matchDomainName function as called from check_domain is ever called, if a certificate offers the CNAME as simply * (which would mean all domains), a pointer pointing to an empty/null character is passed to matchDomainName which can either produce junk data, or can cause a crash; or do nothing as it is undefined behavior. (CVE-2023-46724)

Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. Due to a NULL pointer dereference bug Squid is vulnerable to a Denial of Service attack against Squid's Gopher gateway. The gopher protocol is always available and enabled in Squid prior to Squid 6.0.1. Responses triggering this bug are possible to be received from any gopher server, even those without malicious intent. Gopher support has been removed in Squid version 6.0.1. Users are advised to upgrade. Users unable to upgrade should reject all gopher URL requests. (CVE-2023-46728)

Due to chunked decoder lenience Squid is vulnerable to Request/Response smuggling attacks when parsing HTTP/1.1 and ICAP messages. (CVE-2023-46846)

This problem allows a remote client to perform Denial of Service when sending ftp:// URLs in HTTP Request messages or constructing ftp:// URLs from FTP Native input.

This issue is triggered during access control security checks, meaning clients may not have been permitted to use the proxy yet.

FTP support is always enabled and cannot be disabled completely. (CVE-2023-46848)


Affected Packages:

squid


Issue Correction:
Run dnf update squid --releasever 2023.2.20231113 or dnf update --advisory ALAS2023-2023-429 --releasever 2023.2.20231113 to update your system.
More information on how to update your system can be found on this page: Amazon Linux 2023 documentation

New Packages:
aarch64:
    squid-debuginfo-5.8-1.amzn2023.0.2.aarch64
    squid-5.8-1.amzn2023.0.2.aarch64
    squid-debugsource-5.8-1.amzn2023.0.2.aarch64

src:
    squid-5.8-1.amzn2023.0.2.src

x86_64:
    squid-debuginfo-5.8-1.amzn2023.0.2.x86_64
    squid-5.8-1.amzn2023.0.2.x86_64
    squid-debugsource-5.8-1.amzn2023.0.2.x86_64

Changelog:

2023-12-06: CVE-2023-46728 was added to this advisory.