CVE-2024-7264

Publication date 31 July 2024

Last updated 20 August 2024


Ubuntu priority

Cvss 3 Severity Score

6.5 · Medium

Score breakdown

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.

Read the notes from the security team

Status

Package Ubuntu Release Status
curl 24.10 oracular
Fixed 8.9.1-2ubuntu1
24.04 LTS noble
Fixed 8.5.0-2ubuntu10.2
22.04 LTS jammy
Fixed 7.81.0-1ubuntu1.17
20.04 LTS focal
Fixed 7.68.0-1ubuntu2.23
18.04 LTS bionic
16.04 LTS xenial
14.04 LTS trusty

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro

Notes


rodrigo-zaiden

seems like it was introduced in commit 3a24cb7bc456366cbc3a03f7ab6d2576105a1f2d (version 7.32.0)

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
curl

Severity score breakdown

Parameter Value
Base score 6.5 · Medium
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

References

Related Ubuntu Security Notices (USN)

Other references