Skip to content
OpenAdvisories
Medium ALAS2023-2025-878 2 CVEs

Moderate: golang security update (Amazon Linux 2023)

Published Feb 26, 2025 · Updated Mar 5, 2025

Summary

Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: 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 · 2023 golang 0:1.24.0-1.amzn2023.0.1
Amazon Linux · 2023 golang-bin 0:1.24.0-1.amzn2023.0.1
Amazon Linux · 2023 golang-docs 0:1.24.0-1.amzn2023.0.1
Amazon Linux · 2023 golang-misc 0:1.24.0-1.amzn2023.0.1
Amazon Linux · 2023 golang-shared 0:1.24.0-1.amzn2023.0.1
Amazon Linux · 2023 golang-src 0:1.24.0-1.amzn2023.0.1
Amazon Linux · 2023 golang-tests 0:1.24.0-1.amzn2023.0.1

Vulnerabilities 2

  • Medium 6.1

    Sensitive headers incorrectly sent after cross-domain redirect in net/http

    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 subs…

  • Medium 6.1

    Usage of IPv6 zone IDs can bypass URI name constraints in crypto/x509

    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 whi…

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