{"id":"CVE-2004-2778","aliases":["EUVD-2004-2768","GHSA-j8qf-3qcm-gp2f"],"status":"published","title":"Ebuild in Gentoo may change directory and file permissions depending on the order of installed...","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.","severity":{"version":"3.0","score":7.1,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.00331,"percentile":0.2639,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-264"],"published":"2017-06-27T20:00:00Z","modified":"2026-06-16T22:10:19Z","products":[{"vendor":"gentoo","product":"portage"}],"references":[{"url":"https://bugs.gentoo.org/show_bug.cgi?id=141619","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2017/01/28/7","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory"]},{"url":"https://bugs.gentoo.org/show_bug.cgi?id=58611","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory"]},{"url":"https://bugs.gentoo.org/show_bug.cgi?id=607426","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory"]},{"url":"https://bugs.gentoo.org/show_bug.cgi?id=396153","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory"]},{"url":"https://bugs.gentoo.org/show_bug.cgi?id=607430","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2004-2778"},{"url":"https://github.com/advisories/GHSA-j8qf-3qcm-gp2f"}],"sources":{"cve":[{"id":"CVE-2004-2778","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.","status":"published","published":"2017-06-27T20:00:00Z","modified":"2024-08-08T01:36:25.401Z","updated_at":"2026-11-02T14:34:53.357376Z"}],"euvd":[{"id":"EUVD-2004-2768","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.","status":"published","published":"2017-06-27T20:00:00Z","modified":"2024-08-08T01:36:25Z","updated_at":"2026-11-03T01:15:09.127613Z"}],"ghsa":[{"id":"GHSA-j8qf-3qcm-gp2f","title":"Ebuild in Gentoo may change directory and file permissions depending on the order of installed...","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.","status":"published","published":"2022-04-29T03:02:05Z","modified":"2023-01-30T05:04:22Z","cvss":[{"version":"3.0","score":7.1,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T14:47:01.801326Z"}],"nvd":[{"id":"CVE-2004-2778","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.","status":"published","published":"2017-06-27T20:29:00.183Z","modified":"2026-06-16T22:10:19.507Z","cvss":[{"version":"3.0","score":7.1,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","level":"high","assessor":"primary"},{"version":"2.0","score":3.6,"vector":"AV:L/AC:L/Au:N/C:P/I:P/A:N","level":"low","assessor":"primary"}],"cwes":["CWE-264"],"updated_at":"2026-11-02T14:00:53.662124Z"}]}}
