CVE-2022-31212 Memory corruption in n/a

High 7.5 Published Updated

A stack-based buffer over-read in dbus-broker allows attackers to cause denial of service or potentially execute code via a malicious Exec line.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-31212?

CVE-2022-31212 is a high-severity memory corruption vulnerability in n/a, published on 17 Jul 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-125

Which versions are affected by CVE-2022-31212?

It affects 1 product.

Products include Dbus-Broker Project Dbus-Broker.

How do I fix CVE-2022-31212?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2022-31212 being exploited?

There is no known exploitation of CVE-2022-31212 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2022-31212, GHSA-jcpv-w686-qv5j, UBUNTU-CVE-2022-31212.

Is CVE-2022-31212 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free