CVE-2017-1000257
Last modified
CVE-2017-1000257 is a critical-severity vulnerability rated 9.1/10 on the CVSS scale. An IMAP FETCH response line indicates the size of the returned data, in number of bytes. When that response says the data is zero bytes, libcurl would pass on that (non-existing) data with a pointer and the size (zero) to the deliver-data function. EPSS estimates a 6.22% chance of exploitation in the next 30 days.
Description
An IMAP FETCH response line indicates the size of the returned data, in number of bytes. When that response says the data is zero bytes, libcurl would pass on that (non-existing) data with a pointer and the size (zero) to the deliver-data function. libcurl's deliver-data function treats zero as a magic number and invokes strlen() on the data to figure out the length. The strlen() is called on a heap based buffer that might not be zero terminated so libcurl might read beyond the end of it into whatever memory lies after (or just crash) and then deliver that to the application as if it was actually downloaded.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Haxx | Libcurl | >= 7.20.0, <= 7.56.0 |
| Debian | Debian Linux | 8.0 |
| Debian | Debian Linux | 9.0 |
References
- http://www.debian.org/security/2017/dsa-4007Third Party Advisory
- http://www.securityfocus.com/bid/101519Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1039644Third Party Advisory, VDB Entry
- https://curl.haxx.se/docs/adv_20171023.htmlVendor Advisory
- http://www.debian.org/security/2017/dsa-4007Third Party Advisory
- http://www.securityfocus.com/bid/101519Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1039644Third Party Advisory, VDB Entry
- https://curl.haxx.se/docs/adv_20171023.htmlVendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2017-1000257?
How severe is CVE-2017-1000257?
How do I fix CVE-2017-1000257?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2017
- CVE-2017-1000251The native Bluetooth stack in the Linux Kernel (BlueZ), star…8
- CVE-2017-1000252The KVM subsystem in the Linux kernel through 4.13.3 allows …
- CVE-2017-1000253Linux distributions that have not patched their long-term ke…7.8
- CVE-2017-1000254libcurl may read outside of a heap allocated buffer when doi…
- CVE-2017-1000255On Linux running on PowerPC hardware (Power8 or later) a use…
- CVE-2017-1000256libvirt version 2.3.0 and later is vulnerable to a bad defau…8.1
- CVE-2017-10003Vulnerability in the Solaris component of Oracle Sun Systems…
- CVE-2017-1000353Jenkins versions 2.56 and earlier as well as 2.46.1 LTS and …9.8
- CVE-2017-1000354Jenkins versions 2.56 and earlier as well as 2.46.1 LTS and …
- CVE-2017-1000355Jenkins versions 2.56 and earlier as well as 2.46.1 LTS and …
- CVE-2017-1000356Jenkins versions 2.56 and earlier as well as 2.46.1 LTS and …
- CVE-2017-1000357Denial of Service attack when the switch rejects to receive …
Are you affected by CVE-2017-1000257?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
