7.5 CVE-2024-6197
Enriched by CISA 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
| http://www.openwall.com/lists/oss-security/2024/07/24/1 Mailing List Third Party Advisory |
| http://www.openwall.com/lists/oss-security/2024/07/24/5 Mailing List Third Party Advisory |
| https://curl.se/docs/CVE-2024-6197.html Vendor Advisory |
| https://curl.se/docs/CVE-2024-6197.json Vendor Advisory |
| https://hackerone.com/reports/2559516 Exploit Issue Tracking Technical Description |
af854a3a-2127-422b-91ae-364da2661108 Exploit
| http://www.openwall.com/lists/oss-security/2024/07/24/1 Mailing List Third Party Advisory |
| http://www.openwall.com/lists/oss-security/2024/07/24/5 Mailing List Third Party Advisory |
| https://curl.se/docs/CVE-2024-6197.html Vendor Advisory |
| https://curl.se/docs/CVE-2024-6197.json Vendor Advisory |
| https://hackerone.com/reports/2559516 Exploit Issue Tracking Technical Description |
| https://security.netapp.com/advisory/ntap-20241129-0008/ |
AFFECTED (from MITRE)
| Vendor | Product | Versions |
|---|---|---|
| curl | curl |
|
| © 2022 The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation. | ||
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 |
|---|
| No known exploits |
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 | ||
Cybersecurity needs ?
Strengthen software security from the outset with our DevSecOps expertise
Integrate security right from the start of the software development cycle for more robust applications and greater customer confidence.
Our team of DevSecOps experts can help you secure your APIs, data pipelines, CI/CD chains, Docker containers and Kubernetes deployments.
