Out-of-bounds Write Affecting cesanta/mongoose package, versions [6.7,7.0)


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.33% (86th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-CESANTAMONGOOSE-2366202
  • published26 Jan 2022
  • disclosed8 Feb 2021
  • creditUnknown

Introduced: 8 Feb 2021

CVE-2021-26529  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade cesanta/mongoose to version 7.0 or higher.

Overview

cesanta/mongoose is a networking library for C/C++. It implements event-driven non-blocking APIs for TCP, UDP, HTTP, WebSocket, MQTT.

Affected versions of this package are vulnerable to Out-of-bounds Write. The mg_tls_init function in Cesanta Mongoose HTTPS server 7.0 and 6.7-6.18 (compiled with mbedTLS support) is vulnerable to remote OOB write attack via connection request after exhausting memory pool.

References

CVSS Scores

version 3.1