{"dataType": "CVE_RECORD", "containers": {"cna": {"metrics": [{"format": "CVSS", "cvssV2_0": {"version": "2.0", "baseScore": 4.6, "accessVector": "LOCAL", "vectorString": "AV:L/AC:L/Au:N/C:P/I:P/A:P", "authentication": "NONE", "integrityImpact": "PARTIAL", "accessComplexity": "LOW", "availabilityImpact": "PARTIAL", "confidentialityImpact": "PARTIAL"}}, {"format": "CVSS", "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"}}], "affected": [{"cpes": ["cpe:2.3:a:gentoo:portage:*:*:*:*:*:*:*:*", "cpe:2.3:a:gentoo:portage:2.0.50:-:*:*:*:*:*:*"], "vendor": "gentoo", "product": "portage", "versions": [{"status": "affected", "version": "0", "lessThan": "2.0.50", "versionType": "custom"}, {"status": "affected", "version": "2.0.50"}], "defaultStatus": "unaffected"}, {"cpes": ["cpe:2.3:o:gentoo:linux:1.4:-:*:*:*:*:*:*", "cpe:2.3:o:gentoo:linux:1.4:rc1:*:*:*:*:*:*", "cpe:2.3:o:gentoo:linux:1.4:rc2:*:*:*:*:*:*"], "vendor": "gentoo", "product": "linux", "versions": [{"status": "affected", "version": "1.4"}], "defaultStatus": "unaffected"}], "references": [{"url": "http://secunia.com/advisories/11305", "tags": ["broken-link", "patch"]}, {"url": "http://www.securityfocus.com/bid/10060", "tags": ["broken-link", "patch", "third-party-advisory", "vdb-entry"]}, {"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/15754", "tags": ["third-party-advisory", "vdb-entry"]}, {"url": "http://security.gentoo.org/glsa/glsa-200404-01.xml", "tags": ["vendor-advisory"]}], "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."}], "problemTypes": [{"descriptions": [{"lang": "en", "cweId": "CWE-59", "description": "CWE-59"}]}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000003", "shortName": "nvd", "dateUpdated": "2004-12-31T05:00:00Z", "x_subShortName": "nvd"}}}, "cveMetadata": {"cveId": "CVE-2004-1901", "state": "PUBLISHED", "dateUpdated": "2025-04-03T01:03:51Z", "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca", "datePublished": "2004-12-31T05:00:00Z", "assignerShortName": "mitre"}, "dataVersion": "5.0"}