{"id":"CVE-2021-27431","state":"PUBLISHED","title":"ARM CMSIS RTOS2 Integer Overflow or Wraparound","description":"ARM CMSIS RTOS2 versions prior to 2.1.3 are vulnerable to integer wrap-around inosRtxMemoryAlloc (local malloc equivalent) function, which can lead to arbitrary memory allocation, resulting in unexpected behavior such as a crash or injected code execution.","publishedAt":"2022-05-03T20:23:35.000Z","updatedAt":"2025-04-16T16:24:54.231Z","severity":{"score":7.3,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","source":"icscert"},"assigner":"icscert","products":["ARM CMSIS RTOS2"],"affected":[{"vendor":"ARM","product":"CMSIS RTOS2","versions":[{"version":"unspecified","status":"affected","lessThan":"2.1.3","versionType":"custom"}]}],"references":["https://www.cisa.gov/uscert/ics/advisories/icsa-21-119-04"],"weaknesses":["CWE-190"],"ingestedAt":"2026-10-29T19:48:15.637Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/27xxx/CVE-2021-27431.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-27431","state":"PUBLISHED","datePublished":"2022-05-03T20:23:35.000Z","dateUpdated":"2025-04-16T16:24:54.231Z","assignerShortName":"icscert","assignerOrgId":"7d14cffa-0d7d-4270-9dc0-52cabd5a23a6","dateReserved":"2021-02-19T00:00:00.000Z"},"containers":{"cna":{"title":"ARM CMSIS RTOS2 Integer Overflow or Wraparound","descriptions":[{"lang":"en","value":"ARM CMSIS RTOS2 versions prior to 2.1.3 are vulnerable to integer wrap-around inosRtxMemoryAlloc (local malloc equivalent) function, which can lead to arbitrary memory allocation, resulting in unexpected behavior such as a crash or injected code execution."}],"affected":[{"vendor":"ARM","product":"CMSIS RTOS2","versions":[{"version":"unspecified","status":"affected","lessThan":"2.1.3","versionType":"custom"}]}],"references":[{"url":"https://www.cisa.gov/uscert/ics/advisories/icsa-21-119-04","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":7.3,"baseSeverity":"HIGH","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-190","description":"CWE-190 Integer Overflow or Wraparound","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"icscert","dateUpdated":"2022-05-03T20:23:35.000Z","orgId":"7d14cffa-0d7d-4270-9dc0-52cabd5a23a6"},"credits":[{"lang":"en","value":"David Atch, Omri Ben Bassat, and Tamir Ariel from Microsoft Section 52, and the Azure Defender for IoT research group reported these vulnerabilities to CISA."}],"solutions":[{"lang":"en","value":"ARM CMSIS-RTOS2 – Update in progress, expected in June"}],"source":{"defect":["“BadAlloc”"],"discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 0.0.9"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"ics-cert@hq.dhs.gov","ID":"CVE-2021-27431","STATE":"PUBLIC","TITLE":"ARM CMSIS RTOS2 Integer Overflow or Wraparound"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"CMSIS RTOS2","version":{"version_data":[{"version_affected":"<","version_value":"2.1.3"}]}}]},"vendor_name":"ARM"}]}},"credit":[{"lang":"eng","value":"David Atch, Omri Ben Bassat, and Tamir Ariel from Microsoft Section 52, and the Azure Defender for IoT research group reported these vulnerabilities to CISA."}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"ARM CMSIS RTOS2 versions prior to 2.1.3 are vulnerable to integer wrap-around inosRtxMemoryAlloc (local malloc equivalent) function, which can lead to arbitrary memory allocation, resulting in unexpected behavior such as a crash or injected code execution."}]},"generator":{"engine":"Vulnogram 0.0.9"},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":7.3,"baseSeverity":"HIGH","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-190 Integer Overflow or Wraparound"}]}]},"references":{"reference_data":[{"name":"https://www.cisa.gov/uscert/ics/advisories/icsa-21-119-04","refsource":"CONFIRM","url":"https://www.cisa.gov/uscert/ics/advisories/icsa-21-119-04"}]},"solution":[{"lang":"en","value":"ARM CMSIS-RTOS2 – Update in progress, expected in June"}],"source":{"defect":["“BadAlloc”"],"discovery":"EXTERNAL"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://www.cisa.gov/uscert/ics/advisories/icsa-21-119-04","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T20:48:17.175Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-04-16T15:57:18.288294Z","id":"CVE-2021-27431","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-04-16T16:24:54.231Z"}}]}}}