Buffer Over-read Affecting org.webjars.npm:mqtt-packet package, versions [,6.10.0)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.09% (40th 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-JAVA-ORGWEBJARSNPM-480025
  • published28 Apr 2019
  • disclosed28 Apr 2019
  • creditAlexander Kaiser

Introduced: 28 Apr 2019

CVE-2019-5432  (opens in a new tab)
CWE-126  (opens in a new tab)

How to fix?

Upgrade org.webjars.npm:mqtt-packet to version 6.10.0 or higher.

Overview

org.webjars.npm:mqtt-packet is an Encoder and Decoder for MQTT.

Affected versions of this package are vulnerable to Buffer Over-read. An attacker could trigger an out of range read on a buffer which throws a RangeError. MQTT Brokers using this module could be forced to crash by sending a specifically malformed MQTT Subscribe packet.

References

CVSS Scores

version 3.1