CVE-2021-34434
NixOS vulnerability analysis and mitigation

Overview

CVE-2021-34434 affects Eclipse Mosquitto versions 2.0 to 2.0.11, specifically when using the dynamic security plugin. The vulnerability was discovered in 2021 and involves an authorization bypass issue where if a client's subscription privileges are revoked while the client is offline, their existing subscriptions remain active (Eclipse Bug, Ubuntu CVE).

Technical details

The vulnerability occurs in the dynamic security plugin's handling of durable client subscriptions. When using the plugin with default ACL type behaviors (publishClientSend: deny, publishClientReceive: allow, subscribe: deny, unsubscribe: allow), if a client connects with cleanStart=False and an adequate sessionInterval, their existing subscriptions persist even after their privileges are revoked. The vulnerability has been assigned a CVSS 3.1 base score of 5.3 (Medium), with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N (Ubuntu CVE).

Impact

The vulnerability allows unauthorized access to message streams, as clients can continue receiving messages from topics they no longer have permission to access. This creates a potential security breach where revoked permissions remain effectively active for previously subscribed topics (Eclipse Bug).

Mitigation and workarounds

The issue has been fixed in Mosquitto version 2.0.12. Various Linux distributions have released security updates to address this vulnerability, including Ubuntu (2.0.11-1.2ubuntu0.1 for 23.04 and 2.0.11-1ubuntu1.1 for 22.04 LTS), Fedora (2.0.12-1), and Debian (2.0.11-1+deb11u1) (Ubuntu Notice, Debian Security).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-48606HIGH7.8
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48625HIGH7
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48608MEDIUM5.5
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48569MEDIUM5.5
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-65799MEDIUM4.3
  • NixOSNixOS
  • memos
NoYesDec 08, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management