CVE-2021-26706

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:micrium:uc\/lib:1.38.00:*:*:*:*:*:*:*
cpe:2.3:a:micrium:uc\/lib:1.38.01:*:*:*:*:*:*:*
cpe:2.3:a:micrium:uc\/lib:1.38.02:*:*:*:*:*:*:*
cpe:2.3:a:micrium:uc\/lib:1.38.03:*:*:*:*:*:*:*
cpe:2.3:a:micrium:uc\/lib:1.38.04:*:*:*:*:*:*:*
cpe:2.3:a:micrium:uc\/lib:1.38.05:*:*:*:*:*:*:*
cpe:2.3:a:micrium:uc\/lib:1.39.00:*:*:*:*:*:*:*

History

21 Nov 2024, 05:56

Type Values Removed Values Added
References () https://docs.silabs.com/micrium/latest/micrium-common/ - Vendor Advisory () https://docs.silabs.com/micrium/latest/micrium-common/ - Vendor Advisory
References () https://micrium.atlassian.net/wiki/spaces/libdoc138/ - Third Party Advisory () https://micrium.atlassian.net/wiki/spaces/libdoc138/ - Third Party Advisory
References () https://www.cisa.gov/uscert/ics/advisories/icsa-21-119-04 - Third Party Advisory, US Government Resource () https://www.cisa.gov/uscert/ics/advisories/icsa-21-119-04 - Third Party Advisory, US Government Resource

Information

Published : 2022-01-24 01:15

Updated : 2024-11-21 05:56


NVD link : CVE-2021-26706

Mitre link : CVE-2021-26706

CVE.ORG link : CVE-2021-26706


JSON object : View

Products Affected

micrium

  • uc\/lib
CWE
CWE-190

Integer Overflow or Wraparound