CVE-2024-6197
Description
libcurl's ASN1 parser has this utf8asn1str() function used for parsing an ASN.1 UTF-8 string. Itcan detect an invalid field and return error. Unfortunately, when doing so it also invokes free() on a 4 byte localstack buffer. Most modern malloc implementations detect this error and immediately abort. Some however accept the input pointer and add that memory to its list of available chunks. This leads to the overwriting of nearby stack memory. The content of the overwrite is decided by the free() implementation; likely to be memory pointers and a set of flags. The most likely outcome of exploting this flaw is a crash, although it cannot be ruled out that more serious results can be had in special circumstances.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
6- osv-coords4 versionspkg:rpm/opensuse/curl&distro=openSUSE%20Leap%2015.6pkg:rpm/opensuse/curl&distro=openSUSE%20Tumbleweedpkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP6pkg:rpm/suse/curl&distro=SUSE%20Linux%20Micro%206.0
< 8.6.0-150600.4.3.1+ 3 more
- (no CPE)range: < 8.6.0-150600.4.3.1
- (no CPE)range: < 8.9.0-1.1
- (no CPE)range: < 8.6.0-150600.4.3.1
- (no CPE)range: < 8.6.0-3.1
Patches
Vulnerability mechanics
References
6- hackerone.com/reports/2559516nvdExploitIssue TrackingTechnical Description
- www.openwall.com/lists/oss-security/2024/07/24/1nvdMailing ListThird Party Advisory
- www.openwall.com/lists/oss-security/2024/07/24/5nvdMailing ListThird Party Advisory
- curl.se/docs/CVE-2024-6197.htmlnvdVendor Advisory
- curl.se/docs/CVE-2024-6197.jsonnvdVendor Advisory
- security.netapp.com/advisory/ntap-20241129-0008/nvd
News mentions
0No linked articles in our index yet.