Read the docs
TI-2004-02643 Aliases CVE-2004-2778GHSA-j8qf-3qcm-gp2f

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

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
  • — Vendor— Affected all versions Fixed in — No fix listed CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:gentoo:portage:*:*:*:*:*:*:*:*all versionsVulnerablegentoo
  • cpe:2.3:a:gentoo:portage:*:*:*:*:*:*:*:* Versions all versions Vulnerable ·gentoo

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2004-2778
  2. 2026-10-03 Alias added: GHSA-j8qf-3qcm-gp2f

References

  • 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