Vulnerability · Published Mar 27, 2024 · Assigned by curl
CVE-2024-2398HTTP/2 push headers memory-leak
High 8.6
In plain English
A high-severity security flaw in curl from curl. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 36.1% (higher than 98% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | curl | 7.61.1-34.el8_10.2 | ALSA-2024:5654 |
| AlmaLinux:9 | curl | 7.76.1-29.el9_4.1 | ALSA-2024:5529 |
| AlmaLinux:9 | curl-minimal | 7.76.1-29.el9_4.1 | ALSA-2024:5529 |
| AlmaLinux:8 | libcurl | 7.61.1-34.el8_10.2 | ALSA-2024:5654 |
| AlmaLinux:9 | libcurl | 7.76.1-29.el9_4.1 | ALSA-2024:5529 |
| AlmaLinux:8 | libcurl-devel | 7.61.1-34.el8_10.2 | ALSA-2024:5654 |
| AlmaLinux:9 | libcurl-devel | 7.76.1-29.el9_4.1 | ALSA-2024:5529 |
| AlmaLinux:8 | libcurl-minimal | 7.61.1-34.el8_10.2 | ALSA-2024:5654 |
| AlmaLinux:9 | libcurl-minimal | 7.76.1-29.el9_4.1 | ALSA-2024:5529 |
| Alpine:v3.20 | curl | 8.7.1-r0 | ALPINE-CVE-2024-2398 |
| Alpine:v3.21 | curl | 8.7.1-r0 | ALPINE-CVE-2024-2398 |
| Alpine:v3.22 | curl | 8.7.1-r0 | ALPINE-CVE-2024-2398 |
| Alpine:v3.23 | curl | 8.7.1-r0 | ALPINE-CVE-2024-2398 |
| Alpine:v3.24 | curl | 8.7.1-r0 | ALPINE-CVE-2024-2398 |
| Debian:12 | curl | 7.88.1-10+deb12u6 | DEBIAN-CVE-2024-2398 |
| Debian:13 | curl | 8.7.1-1 | DEBIAN-CVE-2024-2398 |
| Debian:14 | curl | 8.7.1-1 | DEBIAN-CVE-2024-2398 |
| Rocky Linux:8 | curl | 0:7.61.1-34.el8_10.2 | RLSA-2024:5654 |
| Ubuntu:22.04:LTS | curl | 7.81.0-1ubuntu1.16 | USN-6718-1 |
| Ubuntu:22.04:LTS | curl | 7.81.0-1ubuntu1.16 | UBUNTU-CVE-2024-2398 |
| Ubuntu:24.04:LTS | curl | 8.5.0-2ubuntu10.1 | UBUNTU-CVE-2024-2398 |
| Ubuntu:24.04:LTS | curl | 8.5.0-2ubuntu10.1 | USN-6718-3 |
Affected products (as reported)
References
- json
- www
- issue
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GMD6UYKCCRCYETWQZUJ65ZRFULT6SHLI/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2D44YLAUFJU6BZ4XFG2FYV7SBKXB5IZ6/
- http://www.openwall.com/lists/oss-security/2024/03/27/3
- https://security.netapp.com/advisory/ntap-20240503-0009/
- https://support.apple.com/kb/HT214119
- https://support.apple.com/kb/HT214118
- https://support.apple.com/kb/HT214120
- http://seclists.org/fulldisclosure/2024/Jul/20
- http://seclists.org/fulldisclosure/2024/Jul/18
- http://seclists.org/fulldisclosure/2024/Jul/19
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://cert-portal.siemens.com/productcert/html/ssa-417159.html
- https://cert-portal.siemens.com/productcert/html/ssa-331112.html