Ebuild in Gentoo may change directory and file permissions depending on the order of…
Priority LOW 31CWE-264Published · Updated
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- No fix listed
Attack profile from CVSS 3.0 · NVD. Fix status from CNA. Impact type from CWE-264.
Summary
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.
Why it matters now
EPSS 0.00331 26th percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2004-2778
- 2026-10-03 Alias added: GHSA-j8qf-3qcm-gp2f
References
Advisory 6
- https://bugs.gentoo.org/show_bug.cgi?id=141619
- [oss-security] 20170128 Re: Gentoo: order of installed packages may result in vary directories permissions, leading to crontab not requiring cron group membership as example.
- 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=396153
- https://bugs.gentoo.org/show_bug.cgi?id=607430
More gentoo Portage vulnerabilities
- TI-2016-09197 In Gentoo Portage before 3.0.47, there is missing PGP validation of executed code: the… CVSS 3.1CRITICAL 9.8
- TI-2013-01869 The urlopen function in pym/portage/util/_urlopen.py in Gentoo Portage 2.1.12, when using… CVSS 2.0HIGH 9.3
- TI-2008-04191 Multiple untrusted search path vulnerabilities in Portage before 2.1.4.5 include the… CVSS 2.0MEDIUM 6.9
- TI-2004-01775 Portage before 2.0.50-r3 allows local users to overwrite arbitrary files via a hard link attack on the lockfiles. CVSS 3.1MEDIUM 5.5
- TI-2019-14618 Gentoo Portage through 2.3.84 allows local users to place a Trojan horse plugin in the… CVSS 3.1MEDIUM 5.5
- TI-2007-05962 etc-update in Portage before 2.1.3.11 on Gentoo Linux relies on the umask to set… CVSS 2.0LOW 2.1
Sources
- CVE-2004-2778 · CVE Program
- CVE-2004-2778 · NVD
- FIRST EPSS
- GHSA-j8qf-3qcm-gp2f · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences