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


Severity

Recommended
0.0
low
0
10

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

Threat Intelligence

EPSS
0.07% (33rd 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-8383392
  • published18 Nov 2024
  • disclosed18 Nov 2024
  • creditGabriele Quagliarella of Nozomi Networks

Introduced: 18 Nov 2024

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

How to fix?

There is no fixed version for cesanta/mongoose.

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 hostname field. An attacker can manipulate memory and potentially cause unexpected behavior or crashes by writing a NULL byte value beyond the allocated space.

References

CVSS Scores

version 4.0
version 3.1