PT-2021-4323
CVE-2021-3420
·
Published
2021-03-05
·
Updated
2024-06-15
Description by
CVSS 2.0
10
CriticalMetricsAV:N/AC:L/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions
newlib versions prior to 4.0.0
Description
A flaw was found in newlib due to improper overflow validation in memory allocation functions, such as
mEMALIGn, pvALLOc, nano memalign, nano valloc, and nano pvalloc. This could cause an integer overflow, leading to the allocation of a small buffer and then to a heap-based buffer overflow. The issue is related to a whole number overflow, which can be exploited by a remote attacker to cause a buffer overflow.Recommendations
For versions prior to 4.0.0, update to version 4.0.0 or later to resolve the issue. As a temporary workaround, consider restricting the use of the vulnerable memory allocation functions until a patch is available.
Found an issue in the description? Have something to add? Feel free to write us 👾