ALAS-2025-878


Amazon Linux 2023 Security Advisory: ALAS-2025-878
Advisory Release Date: 2025-02-26 23:14 Pacific
Advisory Updated Date: 2025-03-05 16:33 Pacific
Severity: Medium

Issue Overview:

net/http: sensitive headers incorrectly sent after cross-domain redirect

The HTTP client drops sensitive headers after following a cross-domain redirect.
For example, a request to a.com/ containing an Authorization header which is
redirected to b.com/ will not send that header to b.com.

In the event that the client received a subsequent same-domain redirect, however,
the sensitive headers would be restored. For example, a chain of redirects from
a.com/, to b.com/1, and finally to b.com/2 would incorrectly send the Authorization
header to b.com/2.

Thanks to Kyle Seely for reporting this issue. (CVE-2024-45336)

crypto/x509: usage of IPv6 zone IDs can bypass URI name constraints

A certificate with a URI which has a IPv6 address with a zone ID may
incorrectly satisfy a URI name constraint that applies to the certificate
chain.

Certificates containing URIs are not permitted in the web PKI, so this
only affects users of private PKIs which make use of URIs.

Thanks to Juho Forsen of Mattermost for reporting this issue. (CVE-2024-45341)


Affected Packages:

golang


Issue Correction:
Run dnf update golang --releasever 2023.6.20250303 to update your system.

New Packages:
aarch64:
    golang-1.24.0-1.amzn2023.0.1.aarch64
    golang-bin-1.24.0-1.amzn2023.0.1.aarch64
    golang-shared-1.24.0-1.amzn2023.0.1.aarch64

noarch:
    golang-docs-1.24.0-1.amzn2023.0.1.noarch
    golang-misc-1.24.0-1.amzn2023.0.1.noarch
    golang-src-1.24.0-1.amzn2023.0.1.noarch
    golang-tests-1.24.0-1.amzn2023.0.1.noarch

src:
    golang-1.24.0-1.amzn2023.0.1.src

x86_64:
    golang-bin-1.24.0-1.amzn2023.0.1.x86_64
    golang-1.24.0-1.amzn2023.0.1.x86_64
    golang-shared-1.24.0-1.amzn2023.0.1.x86_64