摘要:
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.
安全等级: Low
公告ID: KylinSec-SA-2024-3290
发布日期: 2024年8月13日
关联CVE: CVE-2024-7264
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.
cve名称 | 产品 | 组件 | 是否受影响 |
---|---|---|---|
CVE-2024-7264 | KY3.4-5 | curl | Unaffected |
CVE-2024-7264 | KY3.5.2 | curl | Unaffected |
CVE-2024-7264 | V6 | curl | Unaffected |