CVE-2004-1051 bash scripts run via Sudo can be subverted (CVE-2005-4158, CVE-2006-0151)
Published Jan 9, 2006
7.2
HIGHCVSS 2.0
EPSS 0.61%
Description
sudo 1.6.8 and other versions does not clear the PYTHONINSPECT environment variable, which allows limited local users to gain privileges via a Python script, a variant of CVE-2005-4158.
Affected products
No data.
Configuration 1
- 1.5.6
- 1.5.7
- 1.5.8
- 1.5.9
- 1.6
- 1.6.1
- 1.6.2
- 1.6.3
- 1.6.3_p1
- 1.6.3_p2
- 1.6.3_p3
- 1.6.3_p4
- 1.6.3_p5
- 1.6.3_p6
- 1.6.3_p7
- 1.6.4
- 1.6.4_p1
- 1.6.4_p2
- 1.6.5
- 1.6.5_p1
- 1.6.5_p2
- 1.6.6
- 1.6.7
- 1.6.7_p5
- 1.6.8
- 1.6.8_p1
- 1.6.8_p2
- 1.6.8_p5
- 1.6.8_p7
- 1.6.8_p8
- 1.6.8_p9
- 1.6.8_p12
Configuration 2
- 4.1
- 4.1
- 5.04
- 5.04
- 5.04
- 5.10
- 5.10
- 5.10
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
Red Hat statement
We do not consider this to be a security issue. https://bugzilla.redhat.com/show_bug.cgi?id=139478#c1
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:L/AC:L/Au:N/C:C/I:C/A:C
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (11 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 0.61% (0.00612) | 47.43th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.60% (0.00597) | 43.73th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.06% (0.00063) | 16.97th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.06% (0.00064) | 30.04th | v3 (v2023.03.01) |
| Jul 10, 2024 | 0.06% (0.00064) | 28.33th | v3 (v2023.03.01) |
| Jun 4, 2023 | 0.06% (0.00064) | 26.27th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.04% (0.00045) | 12.27th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.55% (0.01547) | 74.98th | v2 (v2022.01.01) |
| Feb 23, 2023 | 1.55% (0.01547) | 74.94th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.55% (0.01547) | 72.92th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.55% (0.01547) | 51.82th | v2 (v2022.01.01) |
No CWE recorded.
References (18)
- http://secunia.com/advisories/18358 third-party-advisoryx_refsource_SECUNIAVendor Advisory
- http://secunia.com/advisories/18363 third-party-advisoryx_refsource_SECUNIAPatchVendor Advisory
- http://secunia.com/advisories/18549 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/18558 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/18906 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/19016 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/21692 third-party-advisoryx_refsource_SECUNIA
- http://slackware.com/security/viewer.php?l=slackware-security&y=2006&m=slackware-security.421822 vendor-advisoryx_refsource_SLACKWARE
- http://www.debian.org/security/2006/dsa-946 vendor-advisoryx_refsource_DEBIAN
- http://www.mandriva.com/security/advisories?name=MDKSA-2006:159 vendor-advisoryx_refsource_MANDRIVA
- http://www.novell.com/linux/security/advisories/2006_02_sr.html vendor-advisoryx_refsource_SUSE
- http://www.securityfocus.com/bid/16184 vdb-entryx_refsource_BIDExploit
- http://www.trustix.org/errata/2006/0010 vendor-advisoryx_refsource_TRUSTIX
- https://access.redhat.com/security/cve/CVE-2006-0151 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=139478 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2006-0151
- https://usn.ubuntu.com/235-2/ vendor-advisoryx_refsource_UBUNTU
- https://www.cve.org/CVERecord?id=CVE-2006-0151
Change history (0)
No recorded changes yet.