CVE-2021-27425 Cesanta Software Mongoose-OS Integer Overflow or Wraparound
An integer overflow in Mongoose-OS allows attackers to trigger arbitrary memory allocation, leading to crashes or remote code execution.
- 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-27425?
CVE-2021-27425 is a high-severity vulnerability in Cesanta Software Mongoose-OS, published on 3 May 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Cesanta Software Mongoose-OS v2.17.0 is vulnerable to integer wrap-around in function mm_malloc. This improper memory assignment can lead to arbitrary memory allocation, resulting in unexpected behavior such as a crash or a remote code injection/execution.
Weakness: CWE-190
Which versions are affected by CVE-2021-27425?
It affects 1 product.
Products include Cesanta Mongoose Os.
How do I fix CVE-2021-27425?
No fix has been published for CVE-2021-27425 yet. Limit exposure of the affected software until one is available.
Is CVE-2021-27425 being exploited?
There is no known exploitation of CVE-2021-27425 in the wild and no public exploit code.
Sources
Also known as GHSA-2vmf-rc4q-xhgw.