Advisory

UBUNTU-CVE-2024-7264

Also known as: CVE-2024-7264

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 6.3, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Dates

Published
2024-07-31 00:00 UTC
Modified
2026-04-22 15:27 UTC

Affected packages and fixes

curl

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 7.68.0-1ubuntu2.23 (ecosystem)

Fixed versions

7.68.0-1ubuntu2.23

Fix

  • Fixed version 7.68.0-1ubuntu2.23
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

curl

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 7.81.0-1ubuntu1.17 (ecosystem)

Fixed versions

7.81.0-1ubuntu1.17

Fix

  • Fixed version 7.81.0-1ubuntu1.17
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

curl

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 8.5.0-2ubuntu10.2 (ecosystem)

Fixed versions

8.5.0-2ubuntu10.2

Fix

  • Fixed version 8.5.0-2ubuntu10.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences