CVE-2024-2398
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| libcurl-minimal | Amazon Linux | 8.5.0-1.amzn2023.0.4 |
| curl | Amazon Linux | 8.5.0-1.amzn2023.0.4, 8.3.0-1.amzn2.0.7 |
| libcurl-devel | Amazon Linux | 8.5.0-1.amzn2023.0.4, 8.3.0-1.amzn2.0.7 |
| curl | Chainguard | 8.7.1-r0 |
| libcurl | Amazon Linux | 8.5.0-1.amzn2023.0.4, 8.3.0-1.amzn2.0.7 |
| curl-minimal | Amazon Linux | 8.5.0-1.amzn2023.0.4 |
| curl | Alpine | 8.7.1-r0 |
| curl | Wolfi | 8.7.1-r0 |
| SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | Siemens | 3.1.5 |
| macos | apple | 14.6, 13.6.8, 12.7.6 |
| curl | curl | 8.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 MFP | Siemens | 3.1.5 |
4 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| curl | curl | 8.6.0, 8.5.0, 8.4.0 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | 3.1.0 |
| amazon:2023 | libcurl-minimal | 0 |
| amazon:2 | curl | 0 |
| curl | curl | 7.44.0 |
| amazon:2023 | libcurl-devel | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| amazon:2 | libcurl-devel | 0 |
| Siemens | SINEMA Remote Connect Client | 0 |
| chainguard | curl | 0 |
| amazon:2 | libcurl | 0 |
| amazon:2023 | curl-minimal | 0 |
| amazon:2023 | curl | 0 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| alpine | curl | 0 |
| amazon:2023 | libcurl | 0 |
| Siemens | SINEC NMS | 0 |
| curl | curl | 7.80.0, 7.79.1, 7.79.0 |
| wolfi | curl | 0 |
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