Vulnerabilities · 2023 · Gnu
CVE-2023-25139
Gnu Glibc vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Glibc. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Gnu Glibc 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 Gnu products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.