Bug 1985547 (CVE-2021-34431)

Summary: CVE-2021-34431 mosquitto: memory leak can lead to DoS
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-23 22:46:53 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: 1985548, 1985549    
Bug Blocks:    

Description Guilherme de Almeida Suckevicz 2021-07-23 20:38:42 UTC
In Eclipse Mosquitto version 1.6 to 2.0.10, if an authenticated client that had connected with MQTT v5 sent a crafted CONNECT message to the broker a memory leak would occur, which could be used to provide a DoS attack against the broker.

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

Comment 1 Guilherme de Almeida Suckevicz 2021-07-23 20:39:01 UTC
Created mosquitto tracking bugs for this issue:

Affects: epel-all [bug 1985549]
Affects: fedora-all [bug 1985548]

Comment 2 Product Security DevOps Team 2021-07-23 22:46:53 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.