CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2021 · Newlib Project

CVE-2021-3420
Newlib Project Newlib vulnerability

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.

High priority: this vulnerability is rated critical and can be attacked over the network without a login.

Affected products

Newlib, Fedora. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Newlib Project Newlib 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 Newlib Project products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.