First published: Mon May 07 2018(Updated: )
curl can be tricked into reading data beyond the end of a heap based buffer used to store downloaded content. When servers send RTSP responses back to curl, the data starts out with a set of headers. curl parses that data to separate it into a number of headers to deal with those appropriately and to find the end of the headers that signal the start of the "body" part. The function that splits up the response into headers is called `Curl_http_readwrite_headers()` and in situations where it can't find a single header in the buffer, it might end up leaving a pointer pointing into the buffer instead of to the start of the buffer which then later on may lead to an out of buffer read when code assumes that pointer points to a full buffer size worth of memory to use. This could potentially lead to information leakage but most likely a crash/denial of service for applications if a server triggers this flaw. Introduced by following patches: <a href="https://github.com/curl/curl/commit/b2ef79ef3d47b37">https://github.com/curl/curl/commit/b2ef79ef3d47b37</a> <a href="https://github.com/curl/curl/commit/bc4582b68a673d3">https://github.com/curl/curl/commit/bc4582b68a673d3</a> Affected versions: curl 7.20.0 to and including curl 7.59.0 Not affected versions: curl < 7.20.0 and curl >= 7.60.0
Credit: cve@mitre.org cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
debian/curl | <=7.38.0-1<=7.26.0-1+wheezy13 | 7.60.0-1 |
Debian Debian Linux | =7.0 | |
Debian Debian Linux | =8.0 | |
Debian Debian Linux | =9.0 | |
Canonical Ubuntu Linux | =12.04 | |
Canonical Ubuntu Linux | =14.04 | |
Canonical Ubuntu Linux | =16.04 | |
Canonical Ubuntu Linux | =17.10 | |
Canonical Ubuntu Linux | =18.04 | |
Haxx Curl | >=7.20.0<=7.59.0 | |
Redhat Enterprise Linux Desktop | =7.0 | |
Redhat Enterprise Linux Server | =7.0 | |
Redhat Enterprise Linux Workstation | =7.0 | |
Oracle Communications WebRTC Session Controller | <7.2 | |
Oracle Enterprise Manager Ops Center | =12.2.2 | |
Oracle Enterprise Manager Ops Center | =12.3.3 | |
Oracle PeopleSoft Enterprise PeopleTools | =8.55 | |
Oracle PeopleSoft Enterprise PeopleTools | =8.56 | |
Oracle PeopleSoft Enterprise PeopleTools | =8.57 | |
redhat/curl | <7.60.0 | 7.60.0 |
debian/curl | 7.74.0-1.3+deb11u13 7.74.0-1.3+deb11u14 7.88.1-10+deb12u8 7.88.1-10+deb12u5 8.11.0-1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2018-1000301 is a vulnerability in curl version curl 7.20.0 to and including curl 7.59.0 that allows a buffer over-read leading to denial of service.
CVE-2018-1000301 has a severity rating of 9.1, which is classified as critical.
The recommended remedy for CVE-2018-1000301 is to update curl to version 7.60.0 or higher.
CWE-126: Buffer Over-read vulnerability affects curl versions 7.20.0 to 7.59.0.
You can find more information about CVE-2018-1000301 in the references: [link1] [link2] [link3].