CVE-2021-26706
Last modified
CVE-2021-26706 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 1.94% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Micrium | Uc\/Lib | 1.38.00 |
| Micrium | Uc\/Lib | 1.38.01 |
| Micrium | Uc\/Lib | 1.38.02 |
| Micrium | Uc\/Lib | 1.38.03 |
| Micrium | Uc\/Lib | 1.38.04 |
| Micrium | Uc\/Lib | 1.38.05 |
| Micrium | Uc\/Lib | 1.39.00 |
References
- https://docs.silabs.com/micrium/latest/micrium-common/Vendor Advisory
- https://micrium.atlassian.net/wiki/spaces/libdoc138/Third Party Advisory
- https://www.cisa.gov/uscert/ics/advisories/icsa-21-119-04Third Party Advisory, US Government Resource
- https://docs.silabs.com/micrium/latest/micrium-common/Vendor Advisory
- https://micrium.atlassian.net/wiki/spaces/libdoc138/Third Party Advisory
- https://www.cisa.gov/uscert/ics/advisories/icsa-21-119-04Third Party Advisory, US Government Resource
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-26706?
How severe is CVE-2021-26706?
How do I fix CVE-2021-26706?
Are you affected by CVE-2021-26706?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
