
Cloud Vulnerability DB
A community-led vulnerabilities database
A critical vulnerability (CVE-2021-3420) was discovered in newlib versions prior to 4.0.0. The vulnerability involves improper overflow validation in multiple memory allocation functions including mEMALIGn, pvALLOc, nano_memalign, nano_valloc, and nano_pvalloc. This security flaw was reported in March 2021 and affects various embedded systems and real-time operating systems (RTOS) that use the newlib library (NVD, RedHat Bugzilla).
The vulnerability is classified as an Integer Overflow or Wraparound (CWE-190) issue. The flaw received a CVSS v3.1 base score of 9.8 (CRITICAL) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, indicating its severe nature. The technical root cause stems from insufficient checking in memory alignment logic within the malloc and nano-malloc family routines (NVD).
The vulnerability can lead to an integer overflow, resulting in the allocation of a small buffer instead of the intended larger one, ultimately causing a heap-based buffer overflow. This could potentially allow attackers to execute arbitrary code, cause system crashes, or compromise system security (NVD, CISA).
The primary mitigation is to update to newlib version 4.0.0 or later, which contains the fix for this vulnerability. For systems that cannot be immediately updated, CISA recommends minimizing network exposure for all control system devices, ensuring they are not accessible from the Internet, and locating control system networks and remote devices behind firewalls isolated from the business network (CISA).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."