CVE-2004-2778

Summary

CVECVE-2004-2778
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2017-06-27 20:29:00 UTC
Updated2017-07-05 18:40:00 UTC
DescriptionEbuild 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.

Risk And Classification

Problem Types: CWE-264

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Gentoo Portage All All All All
Application Gentoo Portage All All All All

References

ReferenceSourceLinkTags
607426 – sys-process/cronbase: wrong permissions on dirs lets any user to use cron. CONFIRM bugs.gentoo.org Vendor Advisory
58611 – portage.py(mergeme) failes to change permission/ownership of a directory ${ROOT}/dir if ${IMAGE}/dir has different ownership/permissions. CONFIRM bugs.gentoo.org Vendor Advisory
oss-security - Re: Gentoo: order of installed packages may result in vary directories permissions, leading to crontab not requiring cron group membership as example. MLIST www.openwall.com Mailing List, Third Party Advisory
396153 – persistent administrative override of file and directory permissions (like dpkg-statoverride) CONFIRM bugs.gentoo.org Vendor Advisory
Gentoo Bug 141619 - portage keeps directory permissions but updates file permissions on merge CONFIRM bugs.gentoo.org Vendor Advisory
607430 – Gentoo: order of installed packages may result in vary directories permissions, leading to crontab not requiring cron group membership as example. CONFIRM bugs.gentoo.org Vendor Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report