SB2024112175 - Use-after-free in Mongoose



SB2024112175 - Use-after-free in Mongoose

Published: November 21, 2024 Updated: June 23, 2025

Security Bulletin ID SB2024112175
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) Use-after-free (CVE-ID: CVE-2018-20355)

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

An invalid write of 8 bytes due to a use-after-free vulnerability in the mg_http_free_proto_data_cgi function call in mongoose.c in Cesanta Mongoose Embedded Web Server Library 6.13 and earlier allows a denial of service (application crash) or remote code execution.


Remediation

Install update from vendor's website.