CVE-2021-34432: Input Validation

Published Jul 27, 2021
·
Updated

In Eclipse Mosquitto versions 2.0.7 and earlier, the server will crash if the client tries to send a PUBLISH packet with topic length = 0.

Other sources

In Eclipse Mosquitto versions 2.07 and earlier, the server will crash if the client tries to send a PUBLISH packet with topic length = 0.

Affected Software

1 affected component
Eclipse Mosquitto<=2.0.7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Eclipse Mosquitto to a version that resolves this vulnerability.

    Fixed in 2.0.7
  2. Upgrade

    Upgrade Eclipse Mosquitto to a version that resolves this vulnerability.

    Fixed in 2.07

Event History

Jul 27, 2021
CVE Published
via MITRE·03:25 PM
Data Sourced
via MITRE·03:25 PM
DescriptionWeakness
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is CVE-2021-34432?

CVE-2021-34432 is a vulnerability in Eclipse Mosquitto versions 2.07 and earlier that can cause the server to crash if the client sends a PUBLISH packet with topic length = 0.

2

How can CVE-2021-34432 affect me?

If you are using an affected version of Eclipse Mosquitto, an attacker can crash your server by sending a PUBLISH packet with a topic length of 0.

3

What is the severity of CVE-2021-34432?

CVE-2021-34432 has a severity score of 7.5 out of 10, indicating a high severity vulnerability.

4

How can I fix CVE-2021-34432?

To fix CVE-2021-34432, you should upgrade to a version of Eclipse Mosquitto that is not affected, such as version 2.0.8 or later.

5

Where can I find more information about CVE-2021-34432?

You can find more information about CVE-2021-34432 in the official bug report at https://bugs.eclipse.org/bugs/show_bug.cgi?id=574141.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203