Buffer Over-read Affecting mqtt-packet package, versions <3.5.1>=4.0.0 <4.1.3>=5.0.0 <5.6.1>=6.0.0 <6.1.2


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-JS-MQTTPACKET-174531
  • 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)
First added by Snyk

How to fix?

Upgrade mqtt-packet to version 3.5.1, 4.1.3, 5.6.1, 6.1.2 or higher.

Overview

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