Skip to content
OpenAdvisories
Medium ALAS2-2025-2795 3 CVEs

Moderate: golang security update (Amazon Linux 2)

Published Mar 13, 2025 · Updated Mar 25, 2025

Summary

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.

Fixed packages 7

ReleasePackageFixed in
Amazon Linux · 2 golang 0:1.23.7-1.amzn2.0.1
Amazon Linux · 2 golang-bin 0:1.23.7-1.amzn2.0.1
Amazon Linux · 2 golang-docs 0:1.23.7-1.amzn2.0.1
Amazon Linux · 2 golang-misc 0:1.23.7-1.amzn2.0.1
Amazon Linux · 2 golang-shared 0:1.23.7-1.amzn2.0.1
Amazon Linux · 2 golang-src 0:1.23.7-1.amzn2.0.1
Amazon Linux · 2 golang-tests 0:1.23.7-1.amzn2.0.1

Vulnerabilities 3

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2024-45336.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2024-45341.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2025-22870.html