CVE-2021-34431

NameCVE-2021-34431
DescriptionIn 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.
SourceCVE (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 PackageReleaseVersionStatus
mosquitto (PTS)jessie, jessie (lts)1.3.4-2+deb8u4fixed
stretch (security), stretch (lts), stretch1.4.10-3+deb9u5fixed
buster (security), buster, buster (lts)1.5.7-1+deb10u1fixed
bullseye (security), bullseye2.0.11-1+deb11u1fixed
bookworm (security), bookworm2.0.11-1.2+deb12u1fixed
sid, trixie2.0.20-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
mosquittosourcejessie(not affected)
mosquittosourcestretch(not affected)
mosquittosourcebuster(not affected)
mosquittosource(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)

Search for package or bug name: Reporting problems