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
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 security vulnerability.


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

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.