{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2004-2778","published":"2017-06-27T20:29:00.183000Z","last_modified":"2026-06-16T22:10:19.507000Z","status":"Modified","cvss":{"version":"3.0","score":7.1,"severity":"HIGH","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-264"],"cpes":[{"criteria":"cpe:2.3:a:gentoo:portage:*:*:*:*:*:*:*:*","part":"a","vendor":"gentoo","product":"portage"}],"cpes_truncated":false,"vendors":["gentoo"],"products":["gentoo/portage"],"epss":{"score":0.00331,"percentile":0.18721,"date":"2026-11-27","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":43,"links":{"html_es":"/es/cve/CVE-2004-2778/","html_en":"/en/cve/CVE-2004-2778/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2004-2778","cve_org":"https://www.cve.org/CVERecord?id=CVE-2004-2778"},"untrusted":{"vendor_name":"Gentoo","product_name":"Portage","desc_en":"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.","affected":[],"references":[{"url":"http://www.openwall.com/lists/oss-security/2017/01/28/7","tags":["Mailing List","Third Party Advisory"]},{"url":"https://bugs.gentoo.org/show_bug.cgi?id=141619","tags":["Vendor Advisory"]},{"url":"https://bugs.gentoo.org/show_bug.cgi?id=396153","tags":["Vendor Advisory"]},{"url":"https://bugs.gentoo.org/show_bug.cgi?id=58611","tags":["Vendor Advisory"]},{"url":"https://bugs.gentoo.org/show_bug.cgi?id=607426","tags":["Vendor Advisory"]},{"url":"https://bugs.gentoo.org/show_bug.cgi?id=607430","tags":["Vendor Advisory"]}]}}