CVE-2021-27431 ARM CMSIS RTOS2 Integer Overflow or Wraparound

High 7.3 Published Updated

An integer overflow in ARM CMSIS RTOS2 allows attackers to trigger arbitrary memory allocation, potentially leading to code execution or system crashes.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-27431?

CVE-2021-27431 is a high-severity vulnerability in ARM CMSIS RTOS2, published on 3 May 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-190

Which versions are affected by CVE-2021-27431?

It affects 1 product.

Products include Arm Cmsis-Rtos.

How do I fix CVE-2021-27431?

No fix has been published for CVE-2021-27431 yet. Limit exposure of the affected software until one is available.

Is CVE-2021-27431 being exploited?

There is no known exploitation of CVE-2021-27431 in the wild and no public exploit code.

Sources

Also known as GHSA-fphh-2884-975g.

Is CVE-2021-27431 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free