Vulnerability · Published Oct 30, 2024 · Assigned by eclipse

CVE-2024-3935Eclipse Mosquito: Double free vulnerability

Medium 6.0

In plain English

A medium-severity double free in mosquitto from Eclipse Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 55% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)6.0Medium
Exploit odds (30 days)0.7%top 44.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

In 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12mosquitto2.0.11-1.2+deb12u2DEBIAN-CVE-2024-3935
Debian:13mosquitto2.0.20-1DEBIAN-CVE-2024-3935
Debian:14mosquitto2.0.20-1DEBIAN-CVE-2024-3935
Ubuntu:22.04:LTSmosquitto2.0.11-1ubuntu1.2USN-7441-1
Ubuntu:22.04:LTSmosquitto2.0.11-1ubuntu1.2UBUNTU-CVE-2024-3935

Affected products (as reported)

VendorProductVersions
Eclipse Foundation mosquitto 2.0.0 – through 2.0.18

Weakness: CWE-415 · Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N

References