CVE-2024-3935

NameCVE-2024-3935
DescriptionIn Eclipse Mosquito, versions from 2.0.0 through 2.0.18, if a Mosquitto broker is configured to create an outgoing bridge connection, and that bridge connection has an incoming topic configured that makes use of topic remapping, then if the remote connection sends a crafted PUBLISH packet to the broker a double free will occur with a subsequent crash of 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+deb11u1vulnerable
bookworm (security), bookworm2.0.11-1.2+deb12u1vulnerable
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.20-1

Notes

https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/197
https://mosquitto.org/blog/2024/10/version-2-0-19-released/
https://github.com/eclipse-mosquitto/mosquitto/commit/ae7a804dadac8f2aaedb24336df8496a9680fda9 (v2.0.19)
[buster] - mosquitto <not-affected> (The vulnerable code was introduced later)
[stretch] - mosquitto <not-affected> (The vulnerable code was introduced later)
[jessie] - mosquitto <not-affected> (The vulnerable code was introduced later)

Search for package or bug name: Reporting problems