CVE-2004-2778
Ebuild in Gentoo may change directory and file permissions depending on the order of installed...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
7.1
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.
- Record
CVE-2004-2778- CVSS 3.0
- 7.1 High
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N - CVSS 2.0
- 3.6 Low
AV:L/AC:L/Au:N/C:P/I:P/A:N - Weakness
- CWE-264
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2004-2778- Updated
- 2026-11-02
EUVDEUVD-2004-2768 No score
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.
- Record
EUVD-2004-2768- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-j8qf-3qcm-gp2f
7.1
Ebuild in Gentoo may change directory and file permissions depending on the order of installed...
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.
- Record
GHSA-j8qf-3qcm-gp2f- CVSS 3.0
- 7.1 High
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N - Updated
- 2026-11-02
Affected products
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2004-2778 is a high vulnerability (CVSS 7.1) in Gentoo Portage, published June 27, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.33%, the 26th percentile. No source names a fixed version.
References
bugs.gentoo.org/show_bug.cgi?id=141619
openwall.com/lists/oss-security/2017/01/28/7
bugs.gentoo.org/show_bug.cgi?id=58611
bugs.gentoo.org/show_bug.cgi?id=607426
bugs.gentoo.org/show_bug.cgi?id=396153
bugs.gentoo.org/show_bug.cgi?id=607430
nvd.nist.gov/vuln/detail/CVE-2004-2778
github.com/advisories/GHSA-j8qf-3qcm-gp2f