ALAS2-2025-2795
Active ModerateALAS2-2025-2795 (medium): golang
Related CVEs
CVE identifiers linked by this publisher.
Publisher relationship details 3 records
Shared by all 3 CVE relationships
Exact relationship value
advisory_listExact field value
referencesExact evidence value
https://alas.aws.amazon.com/AL2/ALAS2-2025-2795.html| CVE |
|---|
| CVE-2024-45336 |
| CVE-2024-45341 |
| CVE-2025-22870 |
Description
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
Read full publisher description 1403 characters
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) 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-2025-22870)
Solution
Run yum update golang or yum update --advisory ALAS2-2025-2795 to update your system.
Affected packages
Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.
Shared package data
Applies to all 4 occurrences-
1golang
Occurrence-specific details
- Architecture
- aarch64
Replacement RPMs
- golang-1.23.7-1.amzn2.0.1.aarch64
- golang-bin-1.23.7-1.amzn2.0.1.aarch64
- golang-shared-1.23.7-1.amzn2.0.1.aarch64
-
2golang
Occurrence-specific details
- Architecture
- noarch
Replacement RPMs
- golang-docs-1.23.7-1.amzn2.0.1.noarch
- golang-misc-1.23.7-1.amzn2.0.1.noarch
- golang-tests-1.23.7-1.amzn2.0.1.noarch
- golang-src-1.23.7-1.amzn2.0.1.noarch
-
3golang
Occurrence-specific details
- Architecture
- src
Replacement RPMs
- golang-1.23.7-1.amzn2.0.1.src
-
4golang
Occurrence-specific details
- Architecture
- x86_64
Replacement RPMs
- golang-1.23.7-1.amzn2.0.1.x86_64
- golang-bin-1.23.7-1.amzn2.0.1.x86_64
- golang-shared-1.23.7-1.amzn2.0.1.x86_64
CVSS assessments
Publisher supplied scores and vectors; these do not replace the advisory severity above.
No CVSS assessments were provided.
Publisher references
6- CVE-2024-45336 https://access.redhat.com/security/cve/CVE-2024-45336
- CVE-2024-45341 https://access.redhat.com/security/cve/CVE-2024-45341
- CVE-2025-22870 https://access.redhat.com/security/cve/CVE-2025-22870
- CVE-2024-45336 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-45336
- CVE-2024-45341 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-45341
- CVE-2025-22870 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-22870
Provenance
- Schema version
- Unknown
- Parser version
- amazon-alas/1
- Severity origin
- publisher
| Kind | Locator | Source commit | Document hash | Parser | Fetched |
|---|---|---|---|---|---|
| html_page | https://alas.aws.amazon.com/AL2/ALAS2-2025-2795.html | Unknown | e3584d34b36cbacab9f37a5e87b5fbbd8a981f5c84f70fcd581a2b3d2784c4f8 | amazon-alas/1 | 2026-09-26T01:34:09Z |
| rss_entry | https://alas.aws.amazon.com/AL2/ALAS2-2025-2795.html | Unknown | Unknown | amazon-alas/1 | 2026-09-26T01:34:09Z |
| catalog_entry | https://alas.aws.amazon.com/AL2/ALAS2-2025-2795.html | Unknown | Unknown | amazon-alas/1 | 2026-09-26T01:34:09Z |