CVE-2022-39245 Mist vulnerable to user providing a Sudo binary for authentication checks

High 8.4 Published Updated

Local attackers can escalate privileges to root by manipulating the PATH variable to provide a malicious sudo binary during authentication checks.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-39245?

CVE-2022-39245 is a high-severity vulnerability in makedeb mist, published on 26 Sep 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Mist is the command-line interface for the makedeb Package Repository. Prior to version 0.9.5, a user-provided `sudo` binary via the `PATH` variable can allow a local user to run arbitrary commands on the user's system with root permissions. Versions 0.9.5 and later contain a patch. No known workarounds exist.

Weakness: CWE-426, CWE-305, CWE-287

Which versions are affected by CVE-2022-39245?

It affects 1 product.

Products include Makedeb Mist.

How do I fix CVE-2022-39245?

No fix has been published for CVE-2022-39245 yet. Limit exposure of the affected software until one is available.

Is CVE-2022-39245 being exploited?

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

Sources

Also known as GHSA-pxg4-7c7r-2ww6.

Is CVE-2022-39245 in your software?

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

Check your SBOMs for free