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

Published Apr 4, 2023
·
Updated

Excessive memory allocation in net/http and net/textproto

Other sources

Golang Go is vulnerable to a denial of service, caused by an memory exhaustion in the common function in HTTP and MIME header parsing. By sending a specially crafted request, a remote attacker could exploit this vulnerability to cause a denial of service.

IBM

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.

Launchpad

HTTP and MIME header parsing could allocate large amounts of memory, even when parsing small inputs.

References:

https://github.com/golang/go/issues/58975 https://github.com/golang/go/issues/59268

Red Hat

Affected Software

13 affected componentsFixes available
debian/golang-1.15<=1.15.15-1~deb11u4
debian/golang-1.19
1.19.8-2
Golang Go<1.19.8
Golang Go>=1.20.0<1.20.3
IBM Concert Software<=1.0.0 - 1.0.1
redhat/golang<1.20.3
1.20.3
redhat/golang<1.19.8
1.19.8
Microsoft cbl2 golang 1.17.13-2
Microsoft cbl2 golang 1.21.6-1
Microsoft cbl2 golang 1.18.8-7
Microsoft cbl2 msft-golang 1.20.7-1
Microsoft cbl2 golang 1.20.7-1
Microsoft azl3 golang 1.20.7-1

Event History

Apr 4, 2023
Data Sourced
via Red Hat·08:24 PM
DescriptionSeverityAffected Software
Apr 6, 2023
CVE Published
via MITRE·03:50 PM
Data Sourced
via MITRE·03:50 PM
DescriptionWeakness
Oct 10, 2024
Data Sourced
via Ubuntu·01:15 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Launchpad·01:16 PM
Description
Oct 21, 2024
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Sep 4, 2025
Data Sourced
via Microsoft·05:40 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·05:40 AM
Affected Software
Updated
via Microsoft·05:40 AM
Affected Software
Updated
via Microsoft·05:40 AM
DescriptionSeverity

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

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.

2

What is the severity of CVE-2023-24534?

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

3

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.

4

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.

5

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203