CVE-2024-6197: freeing stack buffer in utf8asn1str
Affected: curl · Exploitation: possible (1 to 10%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 91% of scored CVEs
DescriptionCVE.org
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.
Affected products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- curl · curlfrom 8.8.0 up to and including 8.8.0; from 8.7.1 up to and including 8.7.1; from 8.7.0 up to and including 8.7.0; from 8.6.0 up to and including 8.6.0
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Possible (1 to 10%). EPSS between 1% and 10%.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Vendor
- curl
- Published
- July 2024
- Bounty reports
- 2 disclosed on HackerOne
Disclosed bug bounty reports about CVE-2024-6197
The reports on HackerOne that name this CVE, with HackerOne's own outcome. Titles and metadata only.
- CVE-2024-6197: freeing stack buffer in utf8asn1strcurl · 2024 · medium severityValid
- libcurl: freeing stack buffer during x509 certificate parsingInternet Bug Bounty · 2024 · medium severityValid
CoverageNo articles yet
No CyberSIXT article names CVE-2024-6197 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-590cwe.mitre.org
- curl.se/docs/CVE-2024-6197.jsoncurl.se
- curl.se/docs/CVE-2024-6197.htmlcurl.se
- hackerone.com/reports/2559516hackerone.com
- openwall.com/lists/oss-security/2024/07/24/1openwall.com
- openwall.com/lists/oss-security/2024/07/24/5openwall.com
- security.netapp.com/advisory/ntap-20241129-0008security.netapp.com