Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

Security advisory

ALAS2-2024-2554

Active Moderate

ALAS2-2024-2554 (medium): golang

Published
30 May 2024
Updated
30 May 2024

Related CVEs

CVE identifiers linked by this publisher.

6
Publisher relationship details 6 records

Description

An attacker may cause an HTTP/2 endpoint to read arbitrary amounts of header data by sending an excessive number of CONTINUATION frames. Maintaining HPACK state requires parsing and processing all HEADERS and CONTINUATION frames on a connection. When a request's headers exceed MaxHeaderBytes, no memory is allocated to store the excess headers, but they are

Read full publisher description 2701 characters

An attacker may cause an HTTP/2 endpoint to read arbitrary amounts of header data by sending an excessive number of CONTINUATION frames. Maintaining HPACK state requires parsing and processing all HEADERS and CONTINUATION frames on a connection. When a request's headers exceed MaxHeaderBytes, no memory is allocated to store the excess headers, but they are still parsed. This permits an attacker to cause an HTTP/2 endpoint to read arbitrary amounts of header data, all associated with a request which is going to be rejected. These headers can include Huffman-encoded data which is significantly more expensive for the receiver to decode than for an attacker to send. The fix sets a limit on the amount of excess header frames we will process before closing a connection. (CVE-2023-45288) When following an HTTP redirect to a domain which is not a subdomain match or exact match of the initial domain, an http.Client does not forward sensitive headers such as "Authorization" or "Cookie". For example, a redirect from foo.com to www.foo.com will forward the Authorization header, but a redirect to bar.com will not. A maliciously crafted HTTP redirect could cause sensitive headers to be unexpectedly forwarded. (CVE-2023-45289) When parsing a multipart form (either explicitly with Request.ParseMultipartForm or implicitly with Request.FormValue, Request.PostFormValue, or Request.FormFile), limits on the total size of the parsed form were not applied to the memory consumed while reading a single form line. This permits a maliciously crafted input containing very long lines to cause allocation of arbitrarily large amounts of memory, potentially leading to memory exhaustion. With fix, the ParseMultipartForm function now correctly limits the maximum size of form lines. (CVE-2023-45290) Verifying a certificate chain which contains a certificate with an unknown public key algorithm will cause Certificate.Verify to panic. This affects all crypto/tls clients, and servers that set Config.ClientAuth to VerifyClientCertIfGiven or RequireAndVerifyClientCert. The default behavior is for TLS servers to not verify client certificates. (CVE-2024-24783) The ParseAddressList function incorrectly handles comments (text within parentheses) within display names. Since this is a misalignment with conforming address parsers, it can result in different trust decisions being made by programs using different parsers. (CVE-2024-24784) If errors returned from MarshalJSON methods contain user controlled data, they may be used to break the contextual auto-escaping behavior of the html/template package, allowing for subsequent actions to inject unexpected content into templates. (CVE-2024-24785)

Solution

Run yum update golang or yum update --advisory ALAS2-2024-2554 to update your system.

Affected packages

Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.

4

Shared package data

Applies to all 4 occurrences
  1. 1golang

    Occurrence-specific details
    Architecture
    aarch64

    Replacement RPMs

    • golang-1.22.3-1.amzn2.0.1.aarch64
    • golang-bin-1.22.3-1.amzn2.0.1.aarch64
    • golang-shared-1.22.3-1.amzn2.0.1.aarch64
  2. 2golang

    Occurrence-specific details
    Architecture
    noarch

    Replacement RPMs

    • golang-docs-1.22.3-1.amzn2.0.1.noarch
    • golang-misc-1.22.3-1.amzn2.0.1.noarch
    • golang-tests-1.22.3-1.amzn2.0.1.noarch
    • golang-src-1.22.3-1.amzn2.0.1.noarch
  3. 3golang

    Occurrence-specific details
    Architecture
    src

    Replacement RPMs

    • golang-1.22.3-1.amzn2.0.1.src
  4. 4golang

    Occurrence-specific details
    Architecture
    x86_64

    Replacement RPMs

    • golang-1.22.3-1.amzn2.0.1.x86_64
    • golang-bin-1.22.3-1.amzn2.0.1.x86_64
    • golang-shared-1.22.3-1.amzn2.0.1.x86_64

CVSS assessments

Publisher supplied scores and vectors; these do not replace the advisory severity above.

0

No CVSS assessments were provided.

Publisher references

12
  • CVE-2023-45288 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2023-45288
  • CVE-2023-45289 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2023-45289
  • CVE-2023-45290 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2023-45290
  • CVE-2024-24783 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2024-24783
  • CVE-2024-24784 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2024-24784
  • CVE-2024-24785 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2024-24785
  • CVE-2023-45288 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-45288
  • CVE-2023-45289 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-45289
  • CVE-2023-45290 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-45290
  • CVE-2024-24783 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-24783
  • CVE-2024-24784 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-24784
  • CVE-2024-24785 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-24785

Provenance

Schema version
Unknown
Parser version
amazon-alas/1
Severity origin
publisher
Publisher document provenance records
KindLocatorSource commitDocument hashParserFetched
html_pagehttps://alas.aws.amazon.com/AL2/ALAS2-2024-2554.htmlUnknown8cec6ad990387fd12fd0bcf4788d6b411c03bd45ede8fe124b78c585f5b8162bamazon-alas/12026-09-26T01:34:09Z
rss_entryhttps://alas.aws.amazon.com/AL2/ALAS2-2024-2554.htmlUnknownUnknownamazon-alas/12026-09-26T01:34:09Z
catalog_entryhttps://alas.aws.amazon.com/AL2/ALAS2-2024-2554.htmlUnknownUnknownamazon-alas/12026-09-26T01:34:09Z

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected