Your submission was sent successfully! Close

You have successfully unsubscribed! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates about Ubuntu and upcoming events where you can meet our team.Close

CVE-2021-3420

Published: 5 March 2021

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.

Notes

AuthorNote
eslerm
fixed for newlib-4.0.0 on 2020-11-17 with aa106b29a ("malloc/nano-malloc: correctly check for out-of-bounds allocation reqs")

Priority

Medium

Cvss 3 Severity Score

9.8

Score breakdown

Status

Package Release Status
gcc-snapshot
Launchpad, Ubuntu, Debian
bionic Not vulnerable
(code not present)
focal Ignored
(end of standard support, was needs-triage)
jammy Ignored
(end of standard support, was needs-triage)
lunar Not vulnerable
(20230315-1ubuntu1)
mantic Not vulnerable
(20230718-1ubuntu1)
trusty Ignored
(end of standard support)
upstream Not vulnerable
(code not present)
xenial Not vulnerable
(code not present)
newlib
Launchpad, Ubuntu, Debian
bionic Needed

focal Ignored
(end of standard support, was needs-triage)
groovy Ignored
(end of life)
hirsute Ignored
(end of life)
impish Ignored
(end of life)
jammy Ignored
(end of standard support, was needs-triage)
kinetic Ignored
(end of life, was needs-triage)
lunar Ignored
(end of life, was needed)
mantic Needed

trusty Does not exist

upstream
Released (4.0.0)
xenial Needed

Severity score breakdown

Parameter Value
Base score 9.8
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Scope Unchanged
Confidentiality High
Integrity impact High
Availability impact High
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H