Use of Out-of-range Pointer Offset Affecting cesanta/mongoose package, versions [0,]


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-8383393
  • published18 Nov 2024
  • disclosed18 Nov 2024
  • creditGabriele Quagliarella of Nozomi Networks

Introduced: 18 Nov 2024

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

How to fix?

Upgrade cesanta/mongoose to version 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 via an unexpected TLS packet that forces the application to read unintended heap memory space. An attacker can access sensitive information by sending a specially crafted packet.

References

CVSS Scores

version 4.0
version 3.1