Vulnerability · Published Jan 24, 2022 · Assigned by mitre
CVE-2021-26706
Critical 9.8
In plain English
A critical-severity security flaw in the affected software. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.9% (higher than 80% of all known vulnerabilities).
Official description
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.
Affected products (as reported)
References
- https://docs.silabs.com/micrium/latest/micrium-common/ x_refsource_MISC
- https://micrium.atlassian.net/wiki/spaces/libdoc138/ x_refsource_MISC
- https://www.cisa.gov/uscert/ics/advisories/icsa-21-119-04 x_refsource_MISC