Description
A specifically malformed MQTT Subscribe packet crashes MQTT Brokers using the mqtt-packet module versions < 3.5.1, 4.0.0 - 4.1.3, 5.0.0 - 5.6.1, 6.0.0 - 6.1.2 for decoding.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | mqtt-packet | Vulnerable versions: < 3.5.1, 4.0.0 - 4.1.3, 5.0.0 - 5.6.1, 6.0.0 - 6.1.2 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | node-mqtt-packet | 6.0.0-2 | — |
| Debian 13 | node-mqtt-packet | 6.0.0-2 | — |
| Debian 12 | node-mqtt-packet | 6.0.0-2 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | node-mqtt-packet | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | mqtt-packet | < 3.5.1 | 3.5.1 | GHSA-wv67-9jq7-8r69 |
| npm | mqtt-packet | >= 4.0.0, < 4.1.3 | 4.1.3 | GHSA-wv67-9jq7-8r69 |
| npm | mqtt-packet | >= 5.0.0, < 5.6.1 | 5.6.1 | GHSA-wv67-9jq7-8r69 |
| npm | mqtt-packet | >= 6.0.0, < 6.1.2 | 6.1.2 | GHSA-wv67-9jq7-8r69 |