CVE-2004-2778
CVE-2004-2778 is a high-severity vulnerability in Gentoo Portage with a CVSS 3.x base score of 7.1. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-264.
Key facts
- Severity: High (CVSS 3.x base score 7.1)
- CVSS v2: 3.6
- EPSS exploit prediction: 0% (25th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-264
- Affected product: Gentoo Portage
- Published:
- Last modified:
Description
Ebuild in Gentoo may change directory and file permissions depending on the order of installed packages, which allows local users to read or write to restricted directories or execute restricted commands via navigating to the affected directories, or executing the affected commands.
Frequently asked questions
- What is CVE-2004-2778?
- Ebuild in Gentoo may change directory and file permissions depending on the order of installed packages, which allows local users to read or write to restricted directories or execute restricted commands via navigating to the affected directories, or executing the affected commands.
- How severe is CVE-2004-2778?
- CVE-2004-2778 has a CVSS 3.x base score of 7.1, rated high severity. It is exploitable over local access with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability none.
- Is CVE-2004-2778 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (25th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2004-2778?
- CVE-2004-2778 affects Gentoo Portage. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2004-2778?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2004-2778 published?
- CVE-2004-2778 was published on 2017-06-27 and last updated on 2026-06-16.
References
- http://www.openwall.com/lists/oss-security/2017/01/28/7
- https://bugs.gentoo.org/show_bug.cgi?id=141619
- https://bugs.gentoo.org/show_bug.cgi?id=396153
- https://bugs.gentoo.org/show_bug.cgi?id=58611
- https://bugs.gentoo.org/show_bug.cgi?id=607426
- https://bugs.gentoo.org/show_bug.cgi?id=607430
Affected products (1)
- cpe:2.3:a:gentoo:portage:*:*:*:*:*:*:*:*
More vulnerabilities in Gentoo Portage
- CVE-2016-20021 — Critical (CVSS 9.8): In Gentoo Portage before 3.0.47, there is missing PGP validation of executed code: the standalone emerge-webrsync…
- CVE-2013-2100 — Critical (CVSS 9.3): The urlopen function in pym/portage/util/_urlopen.py in Gentoo Portage 2.1.12, when using HTTPS, does not verify X.509…
- CVE-2008-4394 — Medium (CVSS 6.9): Multiple untrusted search path vulnerabilities in Portage before 2.1.4.5 include the current working directory in the…
- CVE-2019-20384 — Medium (CVSS 5.5): Gentoo Portage through 2.3.84 allows local users to place a Trojan horse plugin in the /usr/lib64/nagios/plugins…
- CVE-2004-1901 — Medium (CVSS 5.5): Portage before 2.0.50-r3 allows local users to overwrite arbitrary files via a hard link attack on the lockfiles.
- CVE-2007-6249 — Low (CVSS 2.1): etc-update in Portage before 2.1.3.11 on Gentoo Linux relies on the umask to set permissions for the merge file, often…
All CVEs affecting Gentoo Portage →
Other CWE-264 (Permissions, Privileges, and Access Controls) vulnerabilities
- CVE-2016-8363 — Critical (CVSS 10.0): An issue was discovered in Moxa OnCell OnCellG3470A-LTE, AWK-1131A/3131A/4131A Series, AWK-3191 Series, AWK-5232/6232…
- CVE-2016-7457 — Critical (CVSS 10.0): VMware vRealize Operations (aka vROps) 6.x before 6.4.0 allows remote authenticated users to gain privileges, or halt…
- CVE-2015-7425 — Critical (CVSS 10.0): The Data Protection component in the VMware vSphere GUI in IBM Tivoli Storage Manager for Virtual Environments: Data…
- CVE-2015-8267 — Critical (CVSS 10.0): The PasswordReset.Controllers.ResetController.ChangePasswordIndex method in PasswordReset.dll in Dovestones AD Self…
- CVE-2015-7919 — Critical (CVSS 10.0): SearchBlox 8.3 before 8.3.1 allows remote attackers to write to the config file, and consequently cause a denial of…
- CVE-2015-7071 — Critical (CVSS 10.0): The File Bookmark component in Apple OS X before 10.11.2 allows attackers to bypass a sandbox protection mechanism for…
Browse all CWE-264 (Permissions, Privileges, and Access Controls) vulnerabilities →