CVE-2023-5632Unconditionally adding an event to the epoll causes excessive CPU consumption
In Eclipse Mosquito before and including 2.0.5, establishing a connection to the mosquitto server without sending data causes the EPOLLOUT event to be added, which results excessive CPU consumption. This could be used by a malicious actor to perform denial of service type attack. This issue is fixed in 2.0.6
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 22.04 | mosquitto | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | mosquitto | Fix pending | ||
| Debian 14 | mosquitto | Fixed | 2.0.7-1 | DEBIAN-CVE-2023-5632 |
| Debian 13 | mosquitto | Fixed | 2.0.7-1 | DEBIAN-CVE-2023-5632 |
| Debian 12 | mosquitto | Fixed | 2.0.7-1 | DEBIAN-CVE-2023-5632 |
What the vendor says
As published in the CVE record by eclipse, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Eclipse Mosquitto: affected: up to 2.0.5
Vendor advisories:
- https://github.com/eclipse/mosquitto/pull/2053 (patch)
- https://github.com/eclipse/mosquitto/commit/18bad1ff32435e523d7507e9b2ce0010124a8f2d (patch)
References
- https://github.com/eclipse/mosquitto/pull/2053
- https://github.com/eclipse/mosquitto/commit/18bad1ff32435e523d7507e9b2ce0010124a8f2d
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.