• 公告ID (KylinSec-SA-2023-1059)

摘要:

sprintf in the GNU C Library (glibc) 2.37 has a buffer overflow (out-of-bounds write) in some situations with a correct buffer size. This is unrelated to CWE-676. It may write beyond the bounds of the destination buffer when attempting to write a padded, thousands-separated string representation of a number, if the buffer is allocated the exact size required to represent that number as a string. For example, 1,234,567 (with padding to 13) overflows by two bytes.

安全等级: Low

公告ID: KylinSec-SA-2023-1059

发布日期: 2023年2月13日

关联CVE: CVE-2023-25139  

  • 详细介绍

1. 漏洞描述

   

sprintf in the GNU C Library (glibc) 2.37 has a buffer overflow (out-of-bounds write) in some situations with a correct buffer size. This is unrelated to CWE-676. It may write beyond the bounds of the destination buffer when attempting to write a padded, thousands-separated string representation of a number, if the buffer is allocated the exact size required to represent that number as a string. For example, 1,234,567 (with padding to 13) overflows by two bytes.

2. 影响范围

cve名称 产品 组件 是否受影响
CVE-2023-25139 KY3.4-4A glibc Unaffected
CVE-2023-25139 KY3.4-5A glibc Unaffected
CVE-2023-25139 KY3.5.1 glibc Unaffected
CVE-2023-25139 KY3.5.2 glibc Unaffected

3. 影响组件

    无

4. 修复版本

    无

5. 修复方法

   无

6. 下载链接

    无
上一篇:KylinSec-SA-2023-1058 下一篇:KylinSec-SA-2023-1060