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: 9.3 [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]
CVE-ID: CVE-2020-25756
CWE-ID: CWE-120
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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."


Affected software

Mongoose

How to mitigate CVE-2020-25756

Install update from vendor's website.


External References

Related Security Bulletins