ID CVE-2021-3420
Summary 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.
References
Vulnerable Configurations
  • cpe:2.3:a:newlib_project:newlib:-:*:*:*:*:*:*:*
    cpe:2.3:a:newlib_project:newlib:-:*:*:*:*:*:*:*
  • cpe:2.3:a:newlib_project:newlib:1.9.0:*:*:*:*:*:*:*
    cpe:2.3:a:newlib_project:newlib:1.9.0:*:*:*:*:*:*:*
  • cpe:2.3:a:newlib_project:newlib:1.10.0:*:*:*:*:*:*:*
    cpe:2.3:a:newlib_project:newlib:1.10.0:*:*:*:*:*:*:*
  • cpe:2.3:a:newlib_project:newlib:1.11.0:*:*:*:*:*:*:*
    cpe:2.3:a:newlib_project:newlib:1.11.0:*:*:*:*:*:*:*
  • cpe:2.3:a:newlib_project:newlib:1.12.0:*:*:*:*:*:*:*
    cpe:2.3:a:newlib_project:newlib:1.12.0:*:*:*:*:*:*:*
  • cpe:2.3:a:newlib_project:newlib:1.13.0:*:*:*:*:*:*:*
    cpe:2.3:a:newlib_project:newlib:1.13.0:*:*:*:*:*:*:*
  • cpe:2.3:a:newlib_project:newlib:1.14.0:*:*:*:*:*:*:*
    cpe:2.3:a:newlib_project:newlib:1.14.0:*:*:*:*:*:*:*
  • cpe:2.3:a:newlib_project:newlib:1.15.0:*:*:*:*:*:*:*
    cpe:2.3:a:newlib_project:newlib:1.15.0:*:*:*:*:*:*:*
  • cpe:2.3:a:newlib_project:newlib:1.16.0:*:*:*:*:*:*:*
    cpe:2.3:a:newlib_project:newlib:1.16.0:*:*:*:*:*:*:*
  • cpe:2.3:a:newlib_project:newlib:1.17.0:*:*:*:*:*:*:*
    cpe:2.3:a:newlib_project:newlib:1.17.0:*:*:*:*:*:*:*
  • cpe:2.3:a:newlib_project:newlib:1.18.0:*:*:*:*:*:*:*
    cpe:2.3:a:newlib_project:newlib:1.18.0:*:*:*:*:*:*:*
  • cpe:2.3:a:newlib_project:newlib:1.19.0:*:*:*:*:*:*:*
    cpe:2.3:a:newlib_project:newlib:1.19.0:*:*:*:*:*:*:*
  • cpe:2.3:a:newlib_project:newlib:1.20.0:*:*:*:*:*:*:*
    cpe:2.3:a:newlib_project:newlib:1.20.0:*:*:*:*:*:*:*
  • cpe:2.3:a:newlib_project:newlib:2.0.0:*:*:*:*:*:*:*
    cpe:2.3:a:newlib_project:newlib:2.0.0:*:*:*:*:*:*:*
  • cpe:2.3:a:newlib_project:newlib:2.1.0:*:*:*:*:*:*:*
    cpe:2.3:a:newlib_project:newlib:2.1.0:*:*:*:*:*:*:*
  • cpe:2.3:a:newlib_project:newlib:2.2.0:*:*:*:*:*:*:*
    cpe:2.3:a:newlib_project:newlib:2.2.0:*:*:*:*:*:*:*
  • cpe:2.3:a:newlib_project:newlib:2.3.0:*:*:*:*:*:*:*
    cpe:2.3:a:newlib_project:newlib:2.3.0:*:*:*:*:*:*:*
  • cpe:2.3:a:newlib_project:newlib:2.4.0:*:*:*:*:*:*:*
    cpe:2.3:a:newlib_project:newlib:2.4.0:*:*:*:*:*:*:*
  • cpe:2.3:a:newlib_project:newlib:2.5.0:*:*:*:*:*:*:*
    cpe:2.3:a:newlib_project:newlib:2.5.0:*:*:*:*:*:*:*
  • cpe:2.3:a:newlib_project:newlib:3.0.0:*:*:*:*:*:*:*
    cpe:2.3:a:newlib_project:newlib:3.0.0:*:*:*:*:*:*:*
  • cpe:2.3:a:newlib_project:newlib:3.1.0:*:*:*:*:*:*:*
    cpe:2.3:a:newlib_project:newlib:3.1.0:*:*:*:*:*:*:*
  • cpe:2.3:a:newlib_project:newlib:3.2.0:*:*:*:*:*:*:*
    cpe:2.3:a:newlib_project:newlib:3.2.0:*:*:*:*:*:*:*
  • cpe:2.3:a:newlib_project:newlib:3.3.0:*:*:*:*:*:*:*
    cpe:2.3:a:newlib_project:newlib:3.3.0:*:*:*:*:*:*:*
  • cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*
    cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*
  • cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
    cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
  • cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
    cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
CVSS
Base: 7.5 (as of 24-03-2021 - 18:00)
Impact:
Exploitability:
CWE CWE-190
CAPEC
  • Forced Integer Overflow
    This attack forces an integer variable to go out of range. The integer variable is often used as an offset such as size of memory allocation or similarly. The attacker would typically control the value of such variable and try to get it out of range. For instance the integer in question is incremented past the maximum possible value, it may wrap to become a very small, or negative number, therefore providing a very incorrect value which can lead to unexpected behavior. At worst the attacker can execute arbitrary code.
Access
VectorComplexityAuthentication
NETWORK LOW NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
cvss-vector via4 AV:N/AC:L/Au:N/C:P/I:P/A:P
Last major update 24-03-2021 - 18:00
Published 05-03-2021 - 21:15
Last modified 24-03-2021 - 18:00
Back to Top