OESA-2024-2343

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2024-2343
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2024-2343.json
JSON Data
https://api.osv.dev/v1/vulns/OESA-2024-2343
Upstream
Published
2024-11-08T15:07:21Z
Modified
2025-09-03T06:19:52.097132Z
Summary
mosquitto security update
Details

Mosquitto is an open source message broker that implements the MQ Telemetry Transport protocol version 3.1 and 3.1.1 MQTT provides a lightweight method of carrying out messaging using a publish/subscribe model. This makes it suitable for "machine to machine" messaging such as with low power sensors or mobile devices such as phones, embedded computers or micro-controllers like the Arduino.

Security Fix(es):

In Eclipse Mosquitto, from version 1.3.2 through 2.0.18, if a malicious broker sends a crafted SUBACK packet with no reason codes, a client using libmosquitto may make out of bounds memory access when acting in its onsubscribe callback. This affects the mosquittosub and mosquitto_rr clients.(CVE-2024-10525)

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.(CVE-2024-3935)

Database specific
{
    "severity": "Critical"
}
References

Affected packages

openEuler:22.03-LTS-SP3 / mosquitto

Package

Name
mosquitto
Purl
pkg:rpm/openEuler/mosquitto&distro=openEuler-22.03-LTS-SP3

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.0.20-1.oe2203sp3

Ecosystem specific

{
    "src": [
        "mosquitto-2.0.20-1.oe2203sp3.src.rpm"
    ],
    "x86_64": [
        "mosquitto-2.0.20-1.oe2203sp3.x86_64.rpm",
        "mosquitto-debuginfo-2.0.20-1.oe2203sp3.x86_64.rpm",
        "mosquitto-debugsource-2.0.20-1.oe2203sp3.x86_64.rpm",
        "mosquitto-devel-2.0.20-1.oe2203sp3.x86_64.rpm"
    ],
    "aarch64": [
        "mosquitto-2.0.20-1.oe2203sp3.aarch64.rpm",
        "mosquitto-debuginfo-2.0.20-1.oe2203sp3.aarch64.rpm",
        "mosquitto-debugsource-2.0.20-1.oe2203sp3.aarch64.rpm",
        "mosquitto-devel-2.0.20-1.oe2203sp3.aarch64.rpm"
    ]
}