Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2004-1051: sudo before 1.6.8p2 allows local users to execute arbitrary commands by using "()" style environment variables

48
This month
HIGH 7.2WATCHLISTDOWNGRADEMITIGATEMITIGATE

CVE-2004-1051 is a high-severity flaw (CVSS 7.2) affecting mandrake multi network firewall, sudo, debian linux. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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.

Why this priority

  • High severity
  • On your watchlist

No fix is published yet: follow the downgrade or mitigation steps.

Risk facts

CVSS score7.2 (High)
EPSS exploit chance1.4% (top 28%)
CISA exploited listNo
Published2005-03-01
Last modified2026-06-16
Publisher (CNA): MITRE · Vendor: debian · mandrakesoft · todd miller · trustix

Share: LinkedIn · X · Reddit

Last updated 2026-06-16 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

mandrakesoft mandrake multi network firewall DOWNGRADE
Affected: 8.2
Fixed in: no fixed release known
Safe to downgrade to: a release before 8.2
1. Check installed version
apt-cache policy mandrake-multi-network-firewall || rpm -q mandrake-multi-network-firewall || mandrake-multi-network-firewall --version
2. No fixed release: DOWNGRADE to a release before 8.2 (Debian / Ubuntu)
apt-cache madison mandrake-multi-network-firewall sudo apt install mandrake-multi-network-firewall=<VERSION_BEFORE_8.2> sudo apt-mark hold mandrake-multi-network-firewall
2. No fixed release: DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list mandrake-multi-network-firewall sudo dnf downgrade mandrake-multi-network-firewall-<VERSION_BEFORE_8.2> sudo dnf versionlock add mandrake-multi-network-firewall
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
todd miller sudo MITIGATE
Affected: 1.5.6 · 1.5.7 · 1.5.8 · 1.5.9 · 1.6 · 1.6.1 · 1.6.2 · 1.6.3
Fixed in: no fixed release known
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy sudo || rpm -q sudo || sudo --version
No fixed or unaffected release known
Apply the vendor mitigation from the advisory, disable the affected feature, or restrict network access.
Downgrade not recommended
This is a core system component: downgrading can break the OS. Apply the distro update or the vendor mitigation.
debian debian linux MITIGATE
Affected: 3.0
Fixed in: no fixed release known
Safe to downgrade to: a release before 3.0
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
mandrakesoft mandrake linux MITIGATE
Affected: 9.2 · 10.0 · 10.1
Fixed in: no fixed release known
Safe to downgrade to: a release before 9.2
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
mandrakesoft mandrake linux corporate server MITIGATE
Affected: 2.1
Fixed in: no fixed release known
Safe to downgrade to: a release before 2.1
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
trustix secure linux MITIGATE
Affected: 1.5 · 2.0 · 2.1 · 2.2
Fixed in: no fixed release known
Safe to downgrade to: a release before 1.5
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2004-1051?

mandrake multi network firewall: downgrade or apply the listed mitigation; sudo: mitigate or apply the listed mitigation; debian linux: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.

Is CVE-2004-1051 being exploited?

CVE-2004-1051 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2004-1051 affect?

CVE-2004-1051 affects mandrake multi network firewall, sudo, debian linux. Severity is high (CVSS 7.2). 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

How urgent is CVE-2004-1051?

Priority 48/100. High severity; On your watchlist

Software pages

Debian vulnerabilities · Sudo vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.