{"id":"CVE-2004-1901","state":"PUBLISHED","title":"Portage before 2.0.50-r3 allows local users to overwrite arbitrary files via a hard link attack on the lockfiles.","description":"Portage before 2.0.50-r3 allows local users to overwrite arbitrary files via a hard link attack on the lockfiles.","publishedAt":"2005-05-10T04:00:00.000Z","updatedAt":"2025-01-16T18:09:40.758Z","severity":{"score":5.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","source":"CISA-ADP"},"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://www.securityfocus.com/bid/10060","http://security.gentoo.org/glsa/glsa-200404-01.xml","http://secunia.com/advisories/11305","https://exchange.xforce.ibmcloud.com/vulnerabilities/15754"],"weaknesses":["CWE-59"],"ingestedAt":"2026-10-29T19:27:02.310Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2004/1xxx/CVE-2004-1901.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2004-1901","state":"PUBLISHED","datePublished":"2005-05-10T04:00:00.000Z","dateUpdated":"2025-01-16T18:09:40.758Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2005-05-04T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"Portage before 2.0.50-r3 allows local users to overwrite arbitrary files via a hard link attack on the lockfiles."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://www.securityfocus.com/bid/10060","name":"10060","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://security.gentoo.org/glsa/glsa-200404-01.xml","name":"GLSA-200404-01","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"http://secunia.com/advisories/11305","name":"11305","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/15754","name":"portage-lockfile-hardlink(15754)","tags":["vdb-entry","x_refsource_XF"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2017-07-10T14:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2004-04-06T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2004-1901","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"Portage before 2.0.50-r3 allows local users to overwrite arbitrary files via a hard link attack on the lockfiles."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"10060","refsource":"BID","url":"http://www.securityfocus.com/bid/10060"},{"name":"GLSA-200404-01","refsource":"GENTOO","url":"http://security.gentoo.org/glsa/glsa-200404-01.xml"},{"name":"11305","refsource":"SECUNIA","url":"http://secunia.com/advisories/11305"},{"name":"portage-lockfile-hardlink(15754)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/15754"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.securityfocus.com/bid/10060","name":"10060","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://security.gentoo.org/glsa/glsa-200404-01.xml","name":"GLSA-200404-01","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]},{"url":"http://secunia.com/advisories/11305","name":"11305","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/15754","name":"portage-lockfile-hardlink(15754)","tags":["vdb-entry","x_refsource_XF","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-08T01:07:49.064Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":5.5,"attackVector":"LOCAL","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"LOW","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"timestamp":"2024-01-31T15:42:15.161093Z","id":"CVE-2004-1901","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-59","type":"CWE","lang":"en","description":"CWE-59 Improper Link Resolution Before File Access ('Link Following')"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-01-16T18:09:40.758Z"}}]}}}