Your submission was sent successfully! Close

You have successfully unsubscribed! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates about Ubuntu and upcoming events where you can meet our team.Close

CVE-2024-7264

Published: 31 July 2024

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.

Notes

Author Note
rodrigo-zaiden
seems like it was introduced in commit
3a24cb7bc456366cbc3a03f7ab6d2576105a1f2d  (version 7.32.0)

Priority

Medium

Cvss 3 Severity Score

6.5

Score breakdown

Status

Package Release Status
curl
Launchpad, Ubuntu, Debian
bionic
Released (7.58.0-2ubuntu3.24+esm5)
Available with Ubuntu Pro or Ubuntu Pro (Infra-only)
focal
Released (7.68.0-1ubuntu2.23)
jammy
Released (7.81.0-1ubuntu1.17)
noble
Released (8.5.0-2ubuntu10.2)
trusty
Released (7.35.0-1ubuntu2.20+esm18)
Available with Ubuntu Pro or Ubuntu Pro (Infra-only)
upstream
Released (8.9.1)
xenial
Released (7.47.0-1ubuntu2.19+esm13)
Available with Ubuntu Pro or Ubuntu Pro (Infra-only)
Patches:
upstream: https://github.com/curl/curl/commit/27959ecce75cdb2809c0bdb3286e60e08fadb519

Severity score breakdown

Parameter Value
Base score 6.5
Attack vector Network
Attack complexity Low
Privileges required None
User interaction Required
Scope Unchanged
Confidentiality None
Integrity impact None
Availability impact High
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H