Skip to content

HTTP and MIME header parsing can allocate large amounts...

High severity Unreviewed Published Apr 6, 2023 to the GitHub Advisory Database • Updated Nov 25, 2023

Package

No package listedSuggest a package

Affected versions

Unknown

Patched versions

Unknown

Description

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.

References

Published by the National Vulnerability Database Apr 6, 2023
Published to the GitHub Advisory Database Apr 6, 2023
Last updated Nov 25, 2023

Severity

High
7.5
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weaknesses

CVE ID

CVE-2023-24534

GHSA ID

GHSA-8v5j-pwr7-w5f8

Source code

No known source code

Dependabot alerts are not supported on this advisory because it does not have a package from a supported ecosystem with an affected and fixed version.

Learn more about GitHub language support

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.