7.5
CWE
400
Advisory Published
CVE Published
Updated

CVE-2023-24534: Excessive memory allocation in net/http and net/textproto

First published: Tue Apr 04 2023(Updated: )

HTTP and MIME header parsing can allocate large amounts of memory, even when parsing small inputs, potentially leading to a denial of service. Certain unusual patterns of input data can cause the common function used to parse HTTP and MIME headers to allocate substantially more memory than required to hold the parsed headers. An attacker can exploit this behavior to cause an HTTP server to allocate large amounts of memory from a small request, potentially leading to memory exhaustion and a denial of service. With fix, header parsing now correctly allocates only the memory required to hold parsed headers.

Credit: security@golang.org security@golang.org

Affected SoftwareAffected VersionHow to fix
Golang Go<1.19.8
Golang Go>=1.20.0<1.20.3
redhat/golang<1.20.3
1.20.3
redhat/golang<1.19.8
1.19.8

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Frequently Asked Questions

  • What is CVE-2023-24534?

    CVE-2023-24534 is a vulnerability related to HTTP and MIME header parsing, which can lead to a denial of service due to memory allocation issues.

  • What is the severity of CVE-2023-24534?

    The severity of CVE-2023-24534 is high with a severity value of 7.5.

  • What software is affected by CVE-2023-24534?

    The affected software includes golang versions up to and excluding 1.19.8 and 1.20.3.

  • How can CVE-2023-24534 be fixed?

    To fix CVE-2023-24534, it is recommended to update the affected golang packages to versions 1.19.8 or 1.20.3, depending on the current installed version.

  • Are there any references related to CVE-2023-24534?

    Yes, you can find more information about CVE-2023-24534 at the following references: [Reference 1](https://go.dev/cl/481994), [Reference 2](https://go.dev/issue/58975), [Reference 3](https://groups.google.com/g/golang-announce/c/Xdv6JL9ENs8).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203