Bug 2094718 (CVE-2022-31212)

Summary: CVE-2022-31212 dbus-broker: a stack buffer over-read if a malicious Exec line is supplied
Product: [Other] Security Response Reporter: Marian Rehak <mrehak>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: daherrma, jamartis, tgunders, yaneti
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A stack-based buffer over-read flaw was found in the dbus-broker package. Dbus-Broker depends on c-uitl/c-shquote to parse the DBus service's Exec line, and if a malicious Exec line is supplied, this can lead to a crash or other undefined behaviors.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-27 17:55:23 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: 2094720, 2094721, 2102493, 2102494    
Bug Blocks: 2094725    

Description Marian Rehak 2022-06-08 08:58:29 UTC
Dbus-Broker depends on c-uitl/c-shquote to parse DBus service's Exec line. c-shquote contains a stack buffer over-read if a malicious Exec line is supplied.

Comment 1 Marian Rehak 2022-06-08 08:58:45 UTC
Created dbus-broker tracking bugs for this issue:

Affects: epel-8 [bug 2094721]
Affects: fedora-all [bug 2094720]

Comment 4 errata-xmlrpc 2022-09-20 14:15:59 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2022:6608 https://access.redhat.com/errata/RHSA-2022:6608

Comment 5 Product Security DevOps Team 2022-11-27 17:55:21 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2022-31212