Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 851696 (CVE-2022-31212, CVE-2022-31213)

Summary: <sys-apps/dbus-broker-31: Multiple Memory Corruption Vulnerabilities (CVE-2022-{31212,31213})
Product: Gentoo Security Reporter: Federico Justus Denkena <federico.denkena>
Component: VulnerabilitiesAssignee: Gentoo Security <security>
Status: RESOLVED FIXED    
Severity: minor CC: floppym
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://seclists.org/fulldisclosure/2022/Jun/6
Whiteboard: B4 [glsa+]
Package list:
Runtime testing required: ---
Bug Depends on: 851735    
Bug Blocks:    

Description Federico Justus Denkena 2022-06-13 11:46:59 UTC
Multiple vulnerabilities in version 29(stable). Fixed in version 31, which is still unstable.

Reproducible: Always

Actual Results:  
Vulnerability overview/description:
-----------------------------------
1) Stack-Buffer Over-Read (CVE-2022-31212)
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.

2) Null Pointer Dereference (CVE-2022-31213)
Multiple Null Pointer references can be found when supplying a malformed XML
config file.
Comment 1 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-06-13 13:24:57 UTC
Thanks!
Comment 2 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-06-14 22:03:50 UTC
Please cleanup
Comment 3 Larry the Git Cow gentoo-dev 2023-05-03 09:31:48 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/data/glsa.git/commit/?id=7d32d1d523945ea104ab16421f21ae8121c0dce7

commit 7d32d1d523945ea104ab16421f21ae8121c0dce7
Author:     GLSAMaker <glsamaker@gentoo.org>
AuthorDate: 2023-05-03 09:13:30 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-05-03 09:31:46 +0000

    [ GLSA 202305-04 ] dbus-broker: Multiple Vulnerabilities
    
    Bug: https://bugs.gentoo.org/851696
    Signed-off-by: GLSAMaker <glsamaker@gentoo.org>
    Signed-off-by: Sam James <sam@gentoo.org>

 glsa-202305-04.xml | 43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)