VDB

CVE-2024-2398

CVE-2024-2398 PUBLISHED CVSS 8.6 HIGH

HTTP/2 push headers memory-leak

Reported by curl · Published March 27, 2024

When an application tells libcurl it wants to allow HTTP/2 server push, and the amount of received headers for the push surpasses the maximum allowed limit (1000), libcurl aborts the server push. When aborting, libcurl inadvertently does not free all the previously allocated headers and instead leaks the memory. Further, this error condition fails silently and is therefore not easily detected by an application.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
libcurl-minimalAmazon Linux8.5.0-1.amzn2023.0.4
curlAmazon Linux8.5.0-1.amzn2023.0.4, 8.3.0-1.amzn2.0.7
libcurl-develAmazon Linux8.5.0-1.amzn2023.0.4, 8.3.0-1.amzn2.0.7
curlChainguard8.7.1-r0
libcurlAmazon Linux8.5.0-1.amzn2023.0.4, 8.3.0-1.amzn2.0.7
curl-minimalAmazon Linux8.5.0-1.amzn2023.0.4
curlAlpine8.7.1-r0
curlWolfi8.7.1-r0
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPSiemens3.1.5
macosapple14.6, 13.6.8, 12.7.6
curlcurl8.6.0, 8.5.0, 8.4.0, 8.3.0, 8.2.1, 8.2.0, 8.1.2, 8.1.1, 8.1.0, 8.0.1, 8.0.0, 7.88.1, 7.88.0, 7.87.0, 7.86.0, 7.85.0, 7.84.0, 7.83.1, 7.83.0, 7.82.0, 7.81.0, 7.80.0, 7.79.1, 7.79.0, 7.78.0, 7.77.0, 7.76.1, 7.76.0, 7.75.0, 7.74.0, 7.73.0, 7.72.0, 7.71.1, 7.71.0, 7.70.0, 7.69.1, 7.69.0, 7.68.0, 7.67.0, 7.66.0, 7.65.3, 7.65.2, 7.65.1, 7.65.0, 7.64.1, 7.64.0, 7.63.0, 7.62.0, 7.61.1, 7.61.0, 7.60.0, 7.59.0, 7.58.0, 7.57.0, 7.56.1, 7.56.0, 7.55.1, 7.55.0, 7.54.1, 7.54.0, 7.53.1, 7.53.0, 7.52.1, 7.52.0, 7.51.0, 7.50.3, 7.50.2, 7.50.1, 7.50.0, 7.49.1, 7.49.0, 7.48.0, 7.47.1, 7.47.0, 7.46.0, 7.45.0, 7.44.0
SIMATIC S7-1500 CPU 1518-4 PN/DP MFPSiemens3.1.5

4 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
8.6
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L

Affected products

VendorProductVersions
curlcurl8.6.0, 8.5.0, 8.4.0
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP3.1.0
amazon:2023libcurl-minimal0
amazon:2curl0
curlcurl7.44.0
amazon:2023libcurl-devel0
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP3.1.0
amazon:2libcurl-devel0
SiemensSINEMA Remote Connect Client0
chainguardcurl0
amazon:2libcurl0
amazon:2023curl-minimal0
amazon:2023curl0
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP3.1.0
alpinecurl0
amazon:2023libcurl0
SiemensSINEC NMS0
curlcurl7.80.0, 7.79.1, 7.79.0
wolficurl0

Timeline

  • Mar 27, 2024 EPSS Score (30 in total, the first dated here)
  • Mar 27, 2024 CVE Published
  • Mar 27, 2024 PoC Published (3 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (13 in total, the first dated here)
  • Jun 2, 2026 Security Advisory (79 in total, the first dated here)
  • Aug 10, 2026 Distribution Patch (76 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-2398
vulnetix vdb fixes CVE-2024-2398

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-2398/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›