CVEvulnerability

CVE-2024-7264

6.5 MEDIUM Published 2024-07-31 Modified 2026-10-15 Official page ↗
Status
Modified
Published
2024-07-31
Last modified
2026-10-15
Assigner
2499f714-1537-4658-8207-48ae4bb9eae9
CVSS 3.1 ([email protected])
6.5 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
6.3 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Weaknesses
CWE-125

Description

libcurl's ASN1 parser code has the `GTime2str()` function, used for parsing an ASN.1 Generalized Time field. If given an syntactically incorrect field, the parser might end up using -1 for the length of the *time fraction*, leading to a `strlen()` getting performed on a pointer to a heap buffer area that is not (purposely) null terminated. This flaw most likely leads to a crash, but can also lead to heap contents getting returned to the application when CURLINFO_CERTINFO is used.

Affected configurations

• haxx libcurl (>= 7.32.0 < 8.9.1)

Related

Weakness · CWE (1)

  • CWE-125 Out-of-bounds Read weakness

References