Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 851696 (CVE-2022-31212, CVE-2022-31213) - <sys-apps/dbus-broker-31: Multiple Memory Corruption Vulnerabilities (CVE-2022-{31212,31213})
Summary: <sys-apps/dbus-broker-31: Multiple Memory Corruption Vulnerabilities (CVE-202...
Alias: CVE-2022-31212, CVE-2022-31213
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
Whiteboard: B4 [glsa+]
Depends on: 851735
  Show dependency tree
Reported: 2022-06-13 11:46 UTC by Federico Justus Denkena
Modified: 2023-05-03 09:37 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
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

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
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):

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

    [ GLSA 202305-04 ] dbus-broker: Multiple Vulnerabilities
    Signed-off-by: GLSAMaker <>
    Signed-off-by: Sam James <>

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