libcurl 7.49.0 to and including 7.57.0 contains an out bounds read in code handling HTTP/2 trailers. It was reported (https://github.com/curl/curl/pull/2231) that reading an HTTP/2 trailer could mess up future trailers since the stored size was one byte less than required. The problem is that the code that creates HTTP/1-like headers from the HTTP/2 trailer data once appended a string like `:` to the target buffer, while this was recently changed to `: ` (a space was added after the colon) but the following math wasn't updated correspondingly. When accessed, the data is read out of bounds and causes either a crash or that the (too large) data gets passed to client write. This could lead to a denial-of-service situation or an information disclosure if someone has a service that echoes back or uses the trailers for something.
CVSS Details
- CVSS 3.1 Base Score: 9.1
- CVSS 3.0 Vector: (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alpine Linux | — | Upgrade curl | Feb 20, 2018 | Jan 24, 2018 |
| Amazon Linux Ami 2 | — | Upgrade libcurlUpgrade libcurl-develUpgrade curl-debuginfoUpgrade curl | Apr 27, 2020 | Jan 24, 2018 |
| Amazon_linux | — | Upgrade curl | Feb 22, 2018 | Jan 24, 2018 |
| Arch Linux | — | Upgrade to the latest version of Arch Linux | Jul 11, 2025 | Jan 24, 2018 |
| Debian | — | Upgrade curl | Jan 27, 2018 | Jan 24, 2018 |
| Gentoo Linux | — | Upgrade net-misc/curl. | Apr 9, 2018 | Jan 24, 2018 |
| Oracle Solaris | — | Upgrade web/curl to version 7.59.0-0.175.3.33.0.3.0 on Solaris 11.3 | Jun 18, 2018 | Jan 24, 2018 |
| Suse | — | Upgrade libcurl4-32bitUpgrade libcurl4Upgrade curlUpgrade libcurl-devel | May 20, 2018 | Jan 24, 2018 |
| Ubuntu | — | Upgrade libcurl3-gnutlsUpgrade libcurl3Upgrade libcurl3-nssUpgrade curl | Feb 1, 2018 | Jan 24, 2018 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub