cve/2023/CVE-2023-25139.md

24 lines
1.2 KiB
Markdown
Raw Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2023-25139](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-25139)
![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen)
### Description
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.
### POC
#### Reference
No PoCs from references.
#### Github
- https://github.com/ARPSyndicate/cvemon
- https://github.com/ortelius/ms-compitem-crud
- https://github.com/ortelius/ms-dep-pkg-cud
- https://github.com/ortelius/ms-dep-pkg-r
- https://github.com/ortelius/ms-sbom-export
- https://github.com/ortelius/ms-scorecard
- https://github.com/ortelius/ms-textfile-crud