Bug 1987899 (CVE-2021-34432)

Summary: CVE-2021-34432 mosquitto: DoS when client tries to send a PUBLISH packet with topic length = 0
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: linville, mail, richmattes
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-29 19:06:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1987901, 1987902    
Bug Blocks:    

Description Guilherme de Almeida Suckevicz 2021-07-29 16:46:31 UTC
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.

Reference:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=574141

Comment 1 Guilherme de Almeida Suckevicz 2021-07-29 16:46:49 UTC
Created mosquitto tracking bugs for this issue:

Affects: epel-all [bug 1987902]
Affects: fedora-33 [bug 1987901]

Comment 2 Product Security DevOps Team 2021-07-29 19:06:58 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.