CVE-2021-27425
JSON

7.3high

Cesanta Software Mongoose-OS Integer Overflow or Wraparound

Severity
7.3high CVSS:3.1 by icscert
Exploit likelihood
1.68% (higher than 77% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
icscert

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.

Affected

Product or packageVersionsReported by
Cesanta Software Mongoose-OS2.17.0CVE List
cesanta mongoose_os2.17.0NVD

All scores

icscert7.3high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD7.5high CVSS:2.0AV:N/AC:L/Au:N/C:P/I:P/A:P

Classification

CWE-190

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Cesanta Software Mongoose-OS versión v2.17.0, es vulnerable a una envoltura de enteros en la función mm_malloc. Esta asignación de memoria inapropiada puede conllevar a una asignación de memoria arbitraria, resultando en un comportamiento no esperado, como un bloqueo o una inyección/ejecución de código remoto

References

https://www.cisa.gov/uscert/ics/advisories/icsa-21-119-04third-party-advisory, us-government-resource
https://github.com/cesanta/mongoose-osproduct, third-party-advisory

Sources

SourceRecordLicence
CVE ListCVE-2021-27425 changed 2025-04-16CVE Terms of Use
NVDCVE-2021-27425 changed 2026-06-17Public domain