Buffer overflow in Mongoose - CVE-2020-25756

 

Buffer overflow in Mongoose - CVE-2020-25756

Published: September 18, 2020 / Updated: September 30, 2020


Vulnerability identifier: #VU47219
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2020-25756
CWE-ID: CWE-120
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Cesanta Software Ltd.
Affected software:
Mongoose

Detailed vulnerability description

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

** DISPUTED ** A buffer overflow vulnerability exists in the mg_get_http_header function in Cesanta Mongoose 6.18 due to a lack of bounds checking. A crafted HTTP header can exploit this bug. NOTE: a committer has stated "this will not happen in practice."


How to mitigate CVE-2020-25756

Install update from vendor's website.

Sources