CVE-2021-26706
At a glance
- Source
- NVD
- EPSS
- EPSS 1.94 % · percentile 80 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- mitre
- NVD status
- Modified
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.
Weaknesses (CWE)
- CWE-190 — Integer Overflow or Wraparound
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD · nvd@nist.gov (Primary) |
| CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2021-13496
- GCVE · GCVE-0-2021-26706
CERT-FR advisories
- CERTFR-2021-AVI-639 — Multiples vulnérabilités dans des systèmes d'exploitation temps réel · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
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:*:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| affected n/a |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |