CVE-2024-6197
Last modified
CVE-2024-6197 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 4.30% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Haxx | Libcurl | >= 8.6.0, < 8.9.0 |
References
- http://www.openwall.com/lists/oss-security/2024/07/24/1Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2024/07/24/5Mailing List, Third Party Advisory
- https://curl.se/docs/CVE-2024-6197.htmlVendor Advisory
- https://curl.se/docs/CVE-2024-6197.jsonVendor Advisory
- https://hackerone.com/reports/2559516Exploit, Issue Tracking, Technical Description
- http://www.openwall.com/lists/oss-security/2024/07/24/1Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2024/07/24/5Mailing List, Third Party Advisory
- https://curl.se/docs/CVE-2024-6197.htmlVendor Advisory
- https://curl.se/docs/CVE-2024-6197.jsonVendor Advisory
- https://hackerone.com/reports/2559516Exploit, Issue Tracking, Technical Description
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-6197?
How severe is CVE-2024-6197?
How do I fix CVE-2024-6197?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-6191A vulnerability classified as critical has been found in its…9.8
- CVE-2024-6192A vulnerability classified as critical was found in itsource…9.8
- CVE-2024-6193A vulnerability, which was classified as critical, has been …9.8
- CVE-2024-6194A vulnerability, which was classified as critical, was found…9.8
- CVE-2024-6195A vulnerability has been found in itsourcecode Tailoring Man…9.8
- CVE-2024-6196A vulnerability was found in itsourcecode Banking Management…9.8
- CVE-2024-6198The device exposes a web interface on ports TCP/3030 and TCP…7.7
- CVE-2024-6199An unauthenticated attacker on the WAN interface, with the a…7.7
- CVE-2024-6200HaloITSM versions up to 2.146.1 are affected by a Stored Cro…5.4
- CVE-2024-6201HaloITSM versions up to 2.146.1 are affected by a Template I…5.3
- CVE-2024-6202HaloITSM versions up to 2.146.1 are affected by a SAML XML S…9.8
- CVE-2024-6203HaloITSM versions up to 2.146.1 are affected by a Password R…8.1
Are you affected by CVE-2024-6197?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
