Integer overflow in Micrium Uc\/lib
CVE-2021-26706
- CVSS v3
- 9.8 Critical
- Public exploits
- None known
- EPSS
- 0.019 · 80.5th percentile
- Published
- 2022-01-24
An issue was discovered in lib_mem.c in Micrium uC/OS uC/LIB 1.38.x and 1.39.00. The following memory allocation functions do not check for integer overflow when allocating a pool whose size exceeds the address space: Mem_PoolCreate, Mem_DynPoolCreate, and Mem_DynPoolCreateHW. Because these functions use multiplication to calculate the pool sizes, the operation may cause an integer overflow if the arguments are large enough. The resulting memory pool will be smaller than expected and may be exploited by an attacker.
Vulnerability class: Integer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.019, 80.5th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Micrium Uc\/lib — versions 1.38.00, 1.38.01, 1.38.02
Weakness classification (CWE)
References
- docs.silabs.com/micrium/latest/micrium-common/ (Vendor Advisory)
- micrium.atlassian.net/wiki/spaces/libdoc138/ (Third Party Advisory)
- www.cisa.gov/uscert/ics/advisories/icsa-21-119-04 (US Government Resource, Third Party Advisory)