CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2024 · Haxx

CVE-2024-7264
Haxx Libcurl vulnerability

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.

Affected products

Libcurl. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Haxx Libcurl runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Haxx products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.