CVE & CISA-KEV Catalog

CVE-2004-1051

HIGH
7.2
CVSS v2
NVD

Description

sudo before 1.6.8p2 allows local users to execute arbitrary commands by using "()" style environment variables to create functions that have the same name as any program within the bash script that is called without using the program's full pathname.

How to fix

Remediation Available
sudoDebian
Fixed in:1.6.8p3-1CVE-2004-1051
Fixed in:1.6.8p3-1CVE-2004-1051
Fixed in:1.6.8p3-1CVE-2004-1051
Fixed in:1.6.8p3-1CVE-2004-1051

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v2 Vector

No CVSS vector data available.

Exploit Intelligence

1.37%probability of exploitation in 30 days
69thpercentile

Moderate risk: more likely to be exploited than 69% of all known CVEs.

References

Embed a live status badge for CVE-2004-1051
CVE-2004-1051 severity badge

Markdown

[![CVE-2004-1051](https://tridentstack.com/cve/badge/CVE-2004-1051.svg)](https://tridentstack.com/cve/CVE-2004-1051)

HTML

<a href="https://tridentstack.com/cve/CVE-2004-1051"><img src="https://tridentstack.com/cve/badge/CVE-2004-1051.svg" alt="CVE-2004-1051"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-04-16.