HOMEVULNERABILITIESCVE-2004-2778
HIGH

CVE-2004-2778

CWE-264Published: June 27, 2017· Updated: Jun 16, 2026

7.1
CVSS v3.1

Official 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.

NVD Source

Technical Analysis

CVE-2004-2778 requires local access, meaning attackers must already have a foothold on the target system.

Exploitation requires low privileges, which limits the exposure to scenarios where an attacker has already gained initial access.

A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), with a CVSS base score of 7.1.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorLocal
Attack ComplexityLow
Privileges Req.Low
User InteractionNone
ScopeUnchanged
Impact
ConfidentialityHigh
IntegrityHigh
AvailabilityNone
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Affected Vendors & Products

gentoo1 product(s)
portage
Source: NVD CPE · 1 total CPE entries

Exploit & PoC Resources

NO KNOWN EXPLOITNo public exploit confirmed at this time
External links open in a new tab. Always verify in a controlled environment before use.

Official Patches & Advisories

All References (12)

Quick Facts

CVE IDCVE-2004-2778
CVSS Score7.1 / 10
SeverityHIGH
WeaknessCWE-264
CISA KEVNo
Affected1 vendor(s)
PublishedJun 27, 2017

Related CVEs (CWE-264)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2004-2778 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWATCH.COM. CVE data is provided under the NVD usage policy.