PT-2019-10055 · Cesanta · Cesanta Mongoose Embedded Web Server Library

Published

2019-06-10

·

Updated

2019-06-11

·

CVE-2018-20354

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions: Cesanta Mongoose Embedded Web Server Library versions 6.13 and earlier
Description: The issue is caused by a use-after-free vulnerability in the mg http get proto data function, located in mongoose.c. This can lead to an invalid read of 8 bytes, resulting in a denial of service, which is an application crash, or potentially allowing remote code execution.
Recommendations: For Cesanta Mongoose Embedded Web Server Library versions 6.13 and earlier, consider updating to a version later than 6.13 to resolve the issue. As a temporary workaround, restrict access to the mg http get proto data function to minimize the risk of exploitation.

Exploit

Fix

Use After Free

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2018-20354

Affected Products

Cesanta Mongoose Embedded Web Server Library