Vulnerability Name:

CVE-2004-1901 (CCN-15754)

Assigned:2004-04-06
Published:2004-04-06
Updated:2017-07-11
Summary:Portage before 2.0.50-r3 allows local users to overwrite arbitrary files via a hard link attack on the lockfiles.
CVSS v3 Severity:5.9 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): Low
CVSS v2 Severity:4.6 Medium (CVSS v2 Vector: AV:L/AC:L/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
4.6 Medium (CCN CVSS v2 Vector: AV:L/AC:L/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
Vulnerability Type:CWE-Other
Vulnerability Consequences:File Manipulation
References:Source: CCN
Type: GLSA 200404-01
Insecure sandbox temporary lockfile vulnerabilities in Portage

Source: MITRE
Type: CNA
CVE-2004-1901

Source: SECUNIA
Type: Patch
11305

Source: GENTOO
Type: Patch
GLSA-200404-01

Source: CCN
Type: GLSA-200404-01
Insecure sandbox temporary lockfile vulnerabilities in Portage

Source: CCN
Type: OSVDB ID: 16998
Portage Lockfile Hardlink Arbitrary File Overwrite

Source: BID
Type: Patch
10060

Source: CCN
Type: BID-10060
Gentoo Portage Sandbox Insecure Temporary Lockfile Creation Vulnerability

Source: XF
Type: UNKNOWN
portage-lockfile-hardlink(15754)

Source: XF
Type: UNKNOWN
portage-lockfile-hardlink(15754)

Vulnerable Configuration:Configuration 1:
  • cpe:/o:gentoo:linux:1.4:*:*:*:*:*:*:*
  • OR cpe:/o:gentoo:linux:1.4:rc1:*:*:*:*:*:*
  • OR cpe:/o:gentoo:linux:1.4:rc2:*:*:*:*:*:*
  • OR cpe:/o:gentoo:linux:1.4:rc3:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:gentoo:portage:*:*:*:*:*:*:*:*
  • AND
  • cpe:/o:gentoo:linux:*:*:*:*:*:*:*:*
  • OR cpe:/o:gentoo:linux:1.4:*:*:*:*:*:*:*
  • OR cpe:/o:gentoo:linux:1.4:rc1:*:*:*:*:*:*
  • OR cpe:/o:gentoo:linux:1.4:rc2:*:*:*:*:*:*
  • OR cpe:/o:gentoo:linux:1.4:rc3:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    BACK
    gentoo linux 1.4
    gentoo linux 1.4 rc1
    gentoo linux 1.4 rc2
    gentoo linux 1.4 rc3
    gentoo portage *
    gentoo linux *
    gentoo linux 1.4
    gentoo linux 1.4 rc1
    gentoo linux 1.4 rc2
    gentoo linux 1.4 rc3