CVE-2021-3420

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-3420
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-3420.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-3420
Related
Published
2021-03-05T21:15:13Z
Modified
2024-10-12T07:41:50.958252Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

A flaw was found in newlib in versions prior to 4.0.0. Improper overflow validation in the memory allocation functions mEMALIGn, pvALLOc, nanomemalign, nanovalloc, nano_pvalloc could case an integer overflow, leading to an allocation of a small buffer and then to a heap-based buffer overflow.

References

Affected packages

Debian:11 / newlib

Package

Name
newlib
Purl
pkg:deb/debian/newlib?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*

3.3.0-1
3.3.0-1.1
3.3.0-1.2
3.3.0-1.3

4.*

4.4.0.20231231-1
4.4.0.20231231-2
4.4.0.20231231-3
4.4.0.20231231-4

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / newlib

Package

Name
newlib
Purl
pkg:deb/debian/newlib?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.3.0-1.3+deb12u1

Affected versions

3.*

3.3.0-1.3

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / newlib

Package

Name
newlib
Purl
pkg:deb/debian/newlib?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.4.0.20231231-2

Affected versions

3.*

3.3.0-1.3

4.*

4.4.0.20231231-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:11 / picolibc

Package

Name
picolibc
Purl
pkg:deb/debian/picolibc?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.5-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / picolibc

Package

Name
picolibc
Purl
pkg:deb/debian/picolibc?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.5-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / picolibc

Package

Name
picolibc
Purl
pkg:deb/debian/picolibc?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.5-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/bminor/newlib

Affected ranges

Type
GIT
Repo
https://github.com/bminor/newlib
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed