CVE-2021-3420

A flaw was found in newlib in versions prior to 4.0.0. Improper overflow validation in the memory allocation functions mEMALIGn, pvALLOc, nano_memalign, nano_valloc, nano_pvalloc could case an integer overflow, leading to an allocation of a small buffer and then to a heap-based buffer overflow.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
9.8 CRITICAL
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
redhatCNA
---
---
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 52%
VendorProductVersion
newlib_projectnewlib
𝑥
< 4.0.0
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
newlib
bullseye
ignored
buster
no-dsa
stretch
no-dsa
bookworm
3.3.0-1.3+deb12u1
fixed
sid
4.4.0.20231231-4
fixed
trixie
4.4.0.20231231-4
fixed
picolibc
bullseye
1.5.1-2
ignored
buster
no-dsa
stretch
no-dsa
bookworm
1.8-1
fixed
sid
1.8.8-2
fixed
trixie
1.8.8-2
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
gcc-snapshot
noble
not-affected
mantic
not-affected
lunar
not-affected
jammy
ignored
focal
ignored
bionic
not-affected
xenial
not-affected
trusty
ignored
newlib
noble
needed
mantic
ignored
lunar
ignored
kinetic
ignored
jammy
ignored
impish
ignored
hirsute
ignored
groovy
ignored
focal
ignored
bionic
needed
xenial
needed
trusty
dne