• 公告ID (KylinSec-SA-2024-3290)

摘要:

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  

  • 详细介绍

1. 漏洞描述

   

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.

2. 影响范围

cve名称 产品 组件 是否受影响
CVE-2024-7264 KY3.4-5 curl Unaffected
CVE-2024-7264 KY3.5.2 curl Unaffected
CVE-2024-7264 V6 curl Unaffected

3. 影响组件

    无

4. 修复版本

    无

5. 修复方法

   无

6. 下载链接

    无
上一篇:KylinSec-SA-2024-3678 下一篇:KylinSec-SA-2024-3557