Summary
In Eclipse Mosquitto 2.0.0 to 2.0.22 and 2.1.0 to 2.1.2, the return value of the sha512-pbkdf2 and legacy sha512 password hash functions was not checked. The source assigns a CVSS 3.1 score of 9.8 and critical severity.
What happened
In the affected versions, the return value of the password hash functions for sha512-pbkdf2 and legacy sha512 was not checked (CWE-252). Starting with OpenSSL 4.0, sha512-pbkdf2 hashing fails when using the FIPS provider for passwords shorter than 8 characters. Because the failure goes undetected, newly created passwords would match against any other password with fewer than 8 characters.
Why it matters
Per the source description, a newly created password shorter than 8 characters could be authenticated by any other password shorter than 8 characters. The CVSS 3.1 score is 9.8 (vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, per ADP:CISA-ADP) and severity is critical. CISA's KEV catalog does not list this vulnerability as actively exploited. The source does not state any evidence that this was a zero-day.
Affected products and versions
Eclipse Mosquitto (Eclipse Foundation): versions >= 2.0.0, <= 2.0.22 and >= 2.1.0, <= 2.1.2.
| Product | Versions | Fixed in |
|---|---|---|
| Eclipse Foundation Eclipse Mosquitto | >= 2.0.0, <= 2.0.22 | — |
| Eclipse Foundation Eclipse Mosquitto | >= 2.1.0, <= 2.1.2 | — |
Action recommended by the source
The source does not state a fixed version or a mitigation. The vendor advisories are available at: https://github.com/eclipse-mosquitto/mosquitto/security/advisories/GHSA-878w-672v-qwmf and https://gitlab.eclipse.org/security/cve-assignment/-/work_items/567.
Sources and references
- https://github.com/eclipse-mosquitto/mosquitto/security/advisories/GHSA-878w-672v-qwmf — CVE Program
- https://gitlab.eclipse.org/security/cve-assignment/-/work_items/567 — CVE Program
Weaknesses (CWE): CWE-252
Relevant change history
Published
Advisory published.