CVEfocus › CVE database › CVE-2022-31212

CVE-2022-31212

EPSS 1.6% (higher than 77% of CVEs)Published 2022-07-17Updated 2024-08-03Assigner: mitre

An issue was discovered in dbus-broker before 31. It depends on c-uitl/c-shquote to parse the DBus service's Exec line. c-shquote contains a stack-based buffer over-read if a malicious Exec line is supplied.

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

6Fixed
1Fix pending
3Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04dbus-brokerNot affected
vulnerable_code_not_present
Ubuntu 25.10dbus-brokerNot affected
vulnerable_code_not_present
Ubuntu 24.04dbus-brokerNot affected
vulnerable_code_not_present
Ubuntu 22.04dbus-brokerFix pendingUBUNTU-CVE-2022-31212
Debian 14dbus-brokerFixed30-1DEBIAN-CVE-2022-31212
Debian 13dbus-brokerFixed30-1DEBIAN-CVE-2022-31212
Debian 12dbus-brokerFixed30-1DEBIAN-CVE-2022-31212
Red Hat Enterprise Linux 9dbus-brokerFixed0:28-5.1.el9_0RHSA-2022:6608
AlmaLinux 9dbus-brokerFixed28-5.1.el9_0ALSA-2022:6608
Rocky Linux 9dbus-brokerFixed0:28-5.1.el9RLSA-2022:6608

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.