CVE-2022-39245
Homebrew vulnerability analysis and mitigation

Overview

Mist, the command-line interface for the makedeb Package Repository, was found to contain a security vulnerability (CVE-2022-39245) prior to version 0.9.5. The vulnerability was discovered and disclosed on September 26, 2022, affecting all versions of Mist before version 0.9.5. The issue involved the potential exploitation of user-provided sudo binary through the PATH variable (GitHub Advisory).

Technical details

The vulnerability is classified with CWE-305 and received a High severity rating. The technical issue stems from the application's handling of the sudo binary, where it previously relied on the PATH variable to locate the sudo executable instead of using the absolute path (/usr/bin/sudo). This implementation could allow for path manipulation attacks (GitHub Commit).

Impact

If exploited, this vulnerability could allow a local user to execute arbitrary commands with root permissions on the affected system. The severity of this impact is particularly significant as it could lead to complete system compromise through privilege escalation (GitHub Advisory).

Mitigation and workarounds

The vulnerability was patched in Mist version 0.9.5, released on September 25, 2022. The fix involves using the absolute path to the sudo binary (/usr/bin/sudo) instead of relying on PATH resolution. Users are strongly advised to upgrade to version 0.9.5 or later, as no alternative workarounds exist (GitHub Release).

Additional resources


SourceThis report was generated using AI

Related Homebrew vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66222CRITICAL9.6
  • HomebrewHomebrew
  • deepchat
NoNoDec 03, 2025
CVE-2025-12819HIGH8.1
  • NixOSNixOS
  • pgbouncer
NoYesDec 03, 2025
CVE-2025-59789HIGH7.5
  • HomebrewHomebrew
  • brpc
NoYesDec 01, 2025
CVE-2025-63317MEDIUM5.4
  • NixOSNixOS
  • todoist
NoNoDec 01, 2025
CVE-2025-65105MEDIUM5.3
  • NixOSNixOS
  • apptainer
NoYesDec 02, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management