Bug 1551743 (CVE-2017-7652)

Summary: CVE-2017-7652 mosquitto: configuration reload fails when no free sockets/file descriptors are available
Product: [Other] Security Response Reporter: Laura Pardo <lpardo>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA 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: mosquitto 1.4.15 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-05-05 10:16:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1551744, 1551745    
Bug Blocks:    

Description Laura Pardo 2018-03-05 21:21:44 UTC
A flaw was found in mosquitto affecting versions from 1.0 to 1.4.14 inclusive. If the broker has exhausted all of its free sockets/file descriptors and then a SIGHUP signal is received to trigger reloading of the configuration, then the reloading will fail. This results in many of the configuration options, including security options, being set to their default value. This means that authorization and access control may no longer be in place.


References:
https://bugzilla.redhat.com/show_bug.cgi?id=1549665
https://mosquitto.org/blog/2018/02/security-advisory-cve-2017-7651-cve-2017-7652/

Upstream Patch:
https://mosquitto.org/files/cve/2017-7652/

Comment 1 Laura Pardo 2018-03-05 21:22:11 UTC
Created mosquitto tracking bugs for this issue:

Affects: fedora-all [bug 1551744]
Affects: epel-7 [bug 1551745]