CVE-2021-26706
Micrium Uc\/lib vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Uc\/lib. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Micrium Uc\/lib 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
- 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 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2021-26706
- cve.org/CVERecord?id=CVE-2021-26706
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.