Name | CVE-2021-34431 |
Description | In Eclipse Mosquitto version 1.6 to 2.0.10, if an authenticated client that had connected with MQTT v5 sent a crafted CONNECT message to the broker a memory leak would occur, which could be used to provide a DoS attack against the broker. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
mosquitto (PTS) | jessie, jessie (lts) | 1.3.4-2+deb8u4 | fixed |
| stretch (security), stretch (lts), stretch | 1.4.10-3+deb9u5 | fixed |
| buster (security), buster, buster (lts) | 1.5.7-1+deb10u1 | fixed |
| bullseye (security), bullseye | 2.0.11-1+deb11u1 | fixed |
| bookworm (security), bookworm | 2.0.11-1.2+deb12u1 | fixed |
| sid, trixie | 2.0.20-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
mosquitto | source | jessie | (not affected) | | | |
mosquitto | source | stretch | (not affected) | | | |
mosquitto | source | buster | (not affected) | | | |
mosquitto | source | (unstable) | 2.0.11-1 | | | |
Notes
[bullseye] - mosquitto <no-dsa> (Minor issue)
[buster] - mosquitto <not-affected> (Vulnerable code introduced later)
[stretch] - mosquitto <not-affected> (Vulnerable code introduced later)
https://mosquitto.org/blog/2021/06/version-2-0-11-released/
https://bugs.eclipse.org/bugs/show_bug.cgi?id=573191
[jessie] - mosquitto <not-affected> (Vulnerable code not present)