Heap-based Buffer Overflow Affecting emqx/nanomq package, versions [,0.21.9)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.06% (20th 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-EMQXNANOMQ-9673850
  • published24 Apr 2024
  • disclosed22 Apr 2024
  • creditQingpeng Du

Introduced: 22 Apr 2024

CVE-2024-31036  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade emqx/nanomq to version 0.21.9 or higher.

Overview

Affected versions of this package are vulnerable to Heap-based Buffer Overflow due to a flaw in the read_byte function. An attacker can cause a denial of service by transmitting crafted hexstreams.

CVSS Base Scores

version 3.1