CVE-2004-2778
Summary
| CVE | CVE-2004-2778 |
|---|---|
| State | PUBLISHED |
| Assigner | mitre |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2017-06-27 20:29:00 UTC |
| Updated | 2025-04-20 01:37:25 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.0 7.1 HIGH from [email protected]
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Problem Types: CWE-264 | n/a
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.0 | [email protected] | Primary | 7.1 | HIGH | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| 2.0 | [email protected] | Primary | 3.6 | AV:L/AC:L/Au:N/C:P/I:P/A:N |
CVSS v3.0 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
NoneCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
CVSS v2.0 Breakdown
Access Vector
LocalAccess Complexity
LowAuthentication
NoneConfidentiality
PartialIntegrity
PartialAvailability
NoneAV:L/AC:L/Au:N/C:P/I:P/A:N
NVD Known Affected Configurations (CPE 2.3)
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| 396153 – persistent administrative override of file and directory permissions (like dpkg-statoverride) | af854a3a-2127-422b-91ae-364da2661108 | 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. | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | Mailing List, Third Party Advisory |
| 607430 – Gentoo: order of installed packages may result in vary directories permissions, leading to crontab not requiring cron group membership as example. | af854a3a-2127-422b-91ae-364da2661108 | 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. | af854a3a-2127-422b-91ae-364da2661108 | bugs.gentoo.org | Vendor Advisory |
| Gentoo Bug 141619 - portage keeps directory permissions but updates file permissions on merge | af854a3a-2127-422b-91ae-364da2661108 | bugs.gentoo.org | Vendor Advisory |
| 607426 – sys-process/cronbase: wrong permissions on dirs lets any user to use cron. | af854a3a-2127-422b-91ae-364da2661108 | bugs.gentoo.org | Vendor Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.