p PatchFirst

ALPINE-CVE-2024-7264

ALPINE-CVE-2024-7264

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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 6.5 · Medium · Fix available

Published
Updated

Stack: system

Affected products and versions

  • curl Alpine:v3.18

    Affected ranges
    • ECOSYSTEM: < 8.9.1-r0

    Update to 8.9.1-r0

  • curl Alpine:v3.19

    Affected ranges
    • ECOSYSTEM: < 8.9.1-r0

    Update to 8.9.1-r0

  • curl Alpine:v3.20

    Affected ranges
    • ECOSYSTEM: < 8.9.1-r0

    Update to 8.9.1-r0

  • curl Alpine:v3.21

    Affected ranges
    • ECOSYSTEM: < 8.9.1-r0

    Update to 8.9.1-r0

  • curl Alpine:v3.22

    Affected ranges
    • ECOSYSTEM: < 8.9.1-r0

    Update to 8.9.1-r0

  • curl Alpine:v3.23

    Affected ranges
    • ECOSYSTEM: < 8.9.1-r0

    Update to 8.9.1-r0

  • curl Alpine:v3.24

    Affected ranges
    • ECOSYSTEM: < 8.9.1-r0

    Update to 8.9.1-r0

Original sources

Check your server →