---
cve: "CVE-2024-7264"
severity: "MEDIUM"
cvss: 6.3
epss: "17.3%"
vendor: "curl"
kev: false
exploited: false
published: "2024-07-31 08:15:02"
tags: [cve, security, medium]
source: tsecurity.de CVE-Dossier
exported: "2026-09-13T04:38:42+02:00"
---

# CVE-2024-7264

> 6.3 MEDIUM

## Beschreibung

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](https://curl.se/libcurl/c/CURLINFO_CERTINFO.html) is used.

## CVSS-Vektor

```
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Gering | warn |
| UI Interaktion | Keine | bad |
| S Scope | Unverändert | good |
| C Vertraulichkeit | Gering | warn |
| I Integrität | Gering | warn |
| A Verfügbarkeit | Gering | warn |

## Patch verfügbar (OSV)

- 83bedbd730d62b83744cc26fa0433d3f6e2e4cd6 (Commit)
- 27959ecce75cdb2809c0bdb3286e60e08fadb519 (Commit)

## Referenzen

- <https://curl.se/docs/CVE-2024-7264.json>
- <https://curl.se/docs/CVE-2024-7264.html>
- <https://hackerone.com/reports/2629968>
- <http://www.openwall.com/lists/oss-security/2024/07/31/1>
- <https://github.com/curl/curl/commit/27959ecce75cdb2809c0bdb3286e60e08fadb519>
- <https://security.netapp.com/advisory/ntap-20240828-0008/>
- <https://security.netapp.com/advisory/ntap-20241025-0006/>
- <https://security.netapp.com/advisory/ntap-20241025-0010/>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2024-7264) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
