7.5 CVE-2024-6197

Exploit
 

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.
https://nvd.nist.gov/vuln/detail/CVE-2024-6197

Categories

CWE-NVD-Other

References

2499f714-1537-4658-8207-48ae4bb9eae9 Exploit

af854a3a-2127-422b-91ae-364da2661108 Exploit


 

CPE

cpe start end
Configuration 1
cpe:2.3:a:haxx:libcurl:*:*:*:*:*:*:*:* >= 8.6.0 < 8.9.0


REMEDIATION




EXPLOITS


Exploit-db.com

id description date
No known exploits

POC Github

Url

Other Nist (github, ...)

Url
https://hackerone.com/reports/2559516
https://hackerone.com/reports/2559516


CAPEC


Common Attack Pattern Enumerations and Classifications

id description severity
No entry