Bug 1978094 (CVE-2021-28166)

Summary: CVE-2021-28166 mosquitto: crafted CONNACK message to the broker leads to null pointer dereference
Product: [Other] Security Response Reporter: Dhananjay Arunesh <darunesh>
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-01 10:40:30 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: 1978095, 1978096, 1978097    
Bug Blocks:    

Description Dhananjay Arunesh 2021-07-01 06:53:15 UTC
In Eclipse Mosquitto version 2.0.0 to 2.0.9, if an authenticated client that had connected with MQTT v5 sent a crafted CONNACK message to the broker, a NULL pointer dereference would occur.

References:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=572608

Comment 1 Dhananjay Arunesh 2021-07-01 06:53:46 UTC
Created mosquitto tracking bugs for this issue:

Affects: epel-7 [bug 1978096]
Affects: epel-8 [bug 1978097]
Affects: fedora-all [bug 1978095]

Comment 2 Product Security DevOps Team 2021-07-01 10:40:30 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.