ghsa-6x54-39w9-rqhw
Vulnerability from github
Published
2022-05-14 02:00
Modified
2022-05-14 02:00
Severity ?
Details
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.
{ "affected": [], "aliases": [ "CVE-2017-1000257" ], "database_specific": { "cwe_ids": [ "CWE-119" ], "github_reviewed": false, "github_reviewed_at": null, "nvd_published_at": "2017-10-31T21:29:00Z", "severity": "CRITICAL" }, "details": "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\u0027s 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.", "id": "GHSA-6x54-39w9-rqhw", "modified": "2022-05-14T02:00:02Z", "published": "2022-05-14T02:00:02Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-1000257" }, { "type": "WEB", "url": "https://access.redhat.com/errata/RHSA-2017:3263" }, { "type": "WEB", "url": "https://access.redhat.com/errata/RHSA-2018:2486" }, { "type": "WEB", "url": "https://access.redhat.com/errata/RHSA-2018:3558" }, { "type": "WEB", "url": "https://curl.haxx.se/docs/adv_20171023.html" }, { "type": "WEB", "url": "https://security.gentoo.org/glsa/201712-04" }, { "type": "WEB", "url": "http://www.debian.org/security/2017/dsa-4007" }, { "type": "WEB", "url": "http://www.securityfocus.com/bid/101519" }, { "type": "WEB", "url": "http://www.securitytracker.com/id/1039644" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H", "type": "CVSS_V3" } ] }
Loading...
Loading...
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.