Use of Out-of-range Pointer Offset Affecting cesanta/mongoose package, versions [,7.15)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.06% (28th 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-8383396
  • published18 Nov 2024
  • disclosed18 Nov 2024
  • creditGabriele Quagliarella of Nozomi Networks

Introduced: 18 Nov 2024

CVE-2024-42390  (opens in a new tab)
CWE-823  (opens in a new tab)

How to fix?

Upgrade cesanta/mongoose to version 7.15 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 Use of Out-of-range Pointer Offset through the handling of unexpected TLS packets. An attacker can force the application to read unintended heap memory space by sending a specially crafted TLS packet.

References

CVSS Scores

version 4.0
version 3.1