ADVISORIES

Amazon Linux Security Advisory

ALAS2-2025-2795

Amazon Linux 2 2017.12 - ALAS2-2025-2795: medium priority package update for golang

Details

Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2025-22870: NOTE: https://groups.google.com/g/golang-announce/c/4t3lzH3I0eI/m/b42ImqrBAQAJ NOTE: https://github.com/golang/go/issues/71984 NOTE: Fixed by: https://github.com/golang/go/commit/334de7982f8ec959c74470dd709ceedfd6dbd50a (go1.24.1) NOTE: Fixed by: https://github.com/golang/go/commit/25177ecde0922c50753c043579d17828b7ee88e7 (go1.23.7)

CVE-2024-45341: 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-45336: 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.

Affected packages

EcosystemPackageAffected versions
Amazon Linux:2golang
All versions before 1.23.7-1.amzn2.0.1 (fixed in 1.23.7-1.amzn2.0.1)
Amazon Linux:2golang-bin
All versions before 1.23.7-1.amzn2.0.1 (fixed in 1.23.7-1.amzn2.0.1)
Amazon Linux:2golang-docs
All versions before 1.23.7-1.amzn2.0.1 (fixed in 1.23.7-1.amzn2.0.1)
Amazon Linux:2golang-misc
All versions before 1.23.7-1.amzn2.0.1 (fixed in 1.23.7-1.amzn2.0.1)
Amazon Linux:2golang-shared
All versions before 1.23.7-1.amzn2.0.1 (fixed in 1.23.7-1.amzn2.0.1)
Amazon Linux:2golang-src
All versions before 1.23.7-1.amzn2.0.1 (fixed in 1.23.7-1.amzn2.0.1)
Amazon Linux:2golang-tests
All versions before 1.23.7-1.amzn2.0.1 (fixed in 1.23.7-1.amzn2.0.1)

References