Skip to content
Connect AISign inSign up free
CVE-2024-61977.5HighCWE-590

CVE-2024-6197: freeing stack buffer in utf8asn1str

curl

Affected: curl · Exploitation: possible (1 to 10%)

Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.

4.3%probability of exploitation in the next 30 days
91st percentile
050100

Higher than 91% of scored CVEs

7.5HighCVSS 3.1
LowHigh

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.

Open the Atlas
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

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.

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