FKIE_CVE-2021-26706
Vulnerability from fkie_nvd - Published: 2022-01-24 01:15 - Updated: 2024-11-21 05:56
Severity ?
Summary
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.
References
| URL | Tags | ||
|---|---|---|---|
| cve@mitre.org | https://docs.silabs.com/micrium/latest/micrium-common/ | Vendor Advisory | |
| cve@mitre.org | https://micrium.atlassian.net/wiki/spaces/libdoc138/ | Third Party Advisory | |
| cve@mitre.org | https://www.cisa.gov/uscert/ics/advisories/icsa-21-119-04 | Third Party Advisory, US Government Resource | |
| af854a3a-2127-422b-91ae-364da2661108 | https://docs.silabs.com/micrium/latest/micrium-common/ | Vendor Advisory | |
| af854a3a-2127-422b-91ae-364da2661108 | https://micrium.atlassian.net/wiki/spaces/libdoc138/ | Third Party Advisory | |
| af854a3a-2127-422b-91ae-364da2661108 | https://www.cisa.gov/uscert/ics/advisories/icsa-21-119-04 | Third Party Advisory, US Government Resource |
{
"configurations": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:micrium:uc\\/lib:1.38.00:*:*:*:*:*:*:*",
"matchCriteriaId": "ADEC04DF-BBB7-4E00-9AF1-3B52DA9256F3",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:micrium:uc\\/lib:1.38.01:*:*:*:*:*:*:*",
"matchCriteriaId": "5095D618-E1AF-45DD-9922-2D3432C95D7F",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:micrium:uc\\/lib:1.38.02:*:*:*:*:*:*:*",
"matchCriteriaId": "C1ED2590-7E89-42A8-AC6A-961B1AE72F8D",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:micrium:uc\\/lib:1.38.03:*:*:*:*:*:*:*",
"matchCriteriaId": "C968427F-019A-4935-AB46-C1B37B82F7E5",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:micrium:uc\\/lib:1.38.04:*:*:*:*:*:*:*",
"matchCriteriaId": "C96AD897-3BC7-4670-B10A-F0EE7EB0BA69",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:micrium:uc\\/lib:1.38.05:*:*:*:*:*:*:*",
"matchCriteriaId": "C8A49CE1-1BF8-4942-8D22-241F0911203F",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:micrium:uc\\/lib:1.39.00:*:*:*:*:*:*:*",
"matchCriteriaId": "94FF181B-D5BC-4713-A61B-6F96D522A1CC",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "Se ha detectado un problema en el archivo lib_mem.c en Micrium uC/OS uC/LIB versiones 1.38.x y 1.39.00. Las siguientes funciones de asignaci\u00f3n de memoria no comprueban el desbordamiento de enteros cuando es asignado un pool cuyo tama\u00f1o excede el espacio de direcciones: Mem_PoolCreate, Mem_DynPoolCreate y Mem_DynPoolCreateHW. Dado que estas funciones usan la multiplicaci\u00f3n para calcular el tama\u00f1o de los pools, la operaci\u00f3n puede causar un desbordamiento de enteros si los argumentos son lo suficientemente grandes. El pool de memoria resultante ser\u00e1 m\u00e1s peque\u00f1o de lo esperado y puede ser explotado por un atacante"
}
],
"id": "CVE-2021-26706",
"lastModified": "2024-11-21T05:56:42.573",
"metrics": {
"cvssMetricV2": [
{
"acInsufInfo": false,
"baseSeverity": "HIGH",
"cvssData": {
"accessComplexity": "LOW",
"accessVector": "NETWORK",
"authentication": "NONE",
"availabilityImpact": "PARTIAL",
"baseScore": 7.5,
"confidentialityImpact": "PARTIAL",
"integrityImpact": "PARTIAL",
"vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P",
"version": "2.0"
},
"exploitabilityScore": 10.0,
"impactScore": 6.4,
"obtainAllPrivilege": false,
"obtainOtherPrivilege": false,
"obtainUserPrivilege": false,
"source": "nvd@nist.gov",
"type": "Primary",
"userInteractionRequired": false
}
],
"cvssMetricV31": [
{
"cvssData": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 9.8,
"baseSeverity": "CRITICAL",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"exploitabilityScore": 3.9,
"impactScore": 5.9,
"source": "nvd@nist.gov",
"type": "Primary"
}
]
},
"published": "2022-01-24T01:15:07.820",
"references": [
{
"source": "cve@mitre.org",
"tags": [
"Vendor Advisory"
],
"url": "https://docs.silabs.com/micrium/latest/micrium-common/"
},
{
"source": "cve@mitre.org",
"tags": [
"Third Party Advisory"
],
"url": "https://micrium.atlassian.net/wiki/spaces/libdoc138/"
},
{
"source": "cve@mitre.org",
"tags": [
"Third Party Advisory",
"US Government Resource"
],
"url": "https://www.cisa.gov/uscert/ics/advisories/icsa-21-119-04"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Vendor Advisory"
],
"url": "https://docs.silabs.com/micrium/latest/micrium-common/"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Third Party Advisory"
],
"url": "https://micrium.atlassian.net/wiki/spaces/libdoc138/"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Third Party Advisory",
"US Government Resource"
],
"url": "https://www.cisa.gov/uscert/ics/advisories/icsa-21-119-04"
}
],
"sourceIdentifier": "cve@mitre.org",
"vulnStatus": "Modified",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "CWE-190"
}
],
"source": "nvd@nist.gov",
"type": "Primary"
}
]
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…