SB2021020825 - Remote code execution in Cesanta Mongoose



SB2021020825 - Remote code execution in Cesanta Mongoose

Published: February 8, 2021 Updated: June 23, 2025

Security Bulletin ID SB2021020825
CSH Severity
High
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

High 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 vulnerability.


1) Out-of-bounds write (CVE-ID: CVE-2021-26530)

CWE-ID: CWE-787 - Out-of-bounds write

CVSSv4: CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber


The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a boundary error within the mg_tls_init() function. A remote attacker can initiate multiple connection requests to exhaust available memory pool, trigger an out-of-bounds write and execute arbitrary code on the target system.


Remediation

Install update from vendor's website.