{"api_version":"1","generated_at":"2026-07-24T19:34:30+00:00","cve":"CVE-2012-3504","urls":{"html":"https://cve.report/CVE-2012-3504","api":"https://cve.report/api/cve/CVE-2012-3504.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2012-3504","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2012-3504"},"summary":{"title":"CVE-2012-3504","description":"The nssconfigFound function in genkey.pl in crypto-utils 2.4.1-34 allows local users to overwrite arbitrary files via a symlink attack on the \"list\" file in the current working directory.","state":"PUBLISHED","assigner":"redhat","published_at":"2012-10-10 18:55:02","updated_at":"2026-04-29 01:13:23"},"problem_types":["CWE-264","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"3.6","severity":"","vector":"AV:L/AC:L/Au:N/C:N/I:P/A:P","data":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:N/I:P/A:P","baseScore":3.6,"accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"}}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=849256","name":"https://bugzilla.redhat.com/show_bug.cgi?id=849256","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit"],"title":"849256 – (CVE-2012-3504) CVE-2012-3504 crypto-utils: insecure temporary file usage in genkey","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.openwall.com/lists/oss-security/2012/10/02/3","name":"http://www.openwall.com/lists/oss-security/2012/10/02/3","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"oss-security - CVE-2012-3504: insecure temporary file usage in genkey perl script","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/55756","name":"http://www.securityfocus.com/bid/55756","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"crypto-utils 'genkey' Script CVE-2012-3504 Insecure Temporary File Handling Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/79016","name":"https://exchange.xforce.ibmcloud.com/vulnerabilities/79016","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"IBM X-Force Exchange","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-3504","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-3504","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2012","cve_id":"3504","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"fedoraproject","cpe5":"crypto-utils","cpe6":"2.4.1-34","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-06T20:05:12.660Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"[oss-security] 20121002 CVE-2012-3504: insecure temporary file usage in genkey perl script","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"http://www.openwall.com/lists/oss-security/2012/10/02/3"},{"name":"55756","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/55756"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=849256"},{"name":"cryptoutils-genkey-symlink(79016)","tags":["vdb-entry","x_refsource_XF","x_transferred"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/79016"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2012-10-02T00:00:00.000Z","descriptions":[{"lang":"en","value":"The nssconfigFound function in genkey.pl in crypto-utils 2.4.1-34 allows local users to overwrite arbitrary files via a symlink attack on the \"list\" file in the current working directory."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2017-08-28T12:57:01.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","shortName":"redhat"},"references":[{"name":"[oss-security] 20121002 CVE-2012-3504: insecure temporary file usage in genkey perl script","tags":["mailing-list","x_refsource_MLIST"],"url":"http://www.openwall.com/lists/oss-security/2012/10/02/3"},{"name":"55756","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/55756"},{"tags":["x_refsource_MISC"],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=849256"},{"name":"cryptoutils-genkey-symlink(79016)","tags":["vdb-entry","x_refsource_XF"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/79016"}]}},"cveMetadata":{"assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","assignerShortName":"redhat","cveId":"CVE-2012-3504","datePublished":"2012-10-10T18:00:00.000Z","dateReserved":"2012-06-14T00:00:00.000Z","dateUpdated":"2024-08-06T20:05:12.660Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2012-10-10 18:55:02","lastModifiedDate":"2026-04-29 01:13:23","problem_types":["CWE-264","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:N/I:P/A:P","baseScore":3.6,"accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"LOW","exploitabilityScore":3.9,"impactScore":4.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:fedoraproject:crypto-utils:2.4.1-34:*:*:*:*:*:*:*","matchCriteriaId":"28212E37-8AC9-41E3-9DC5-685D6E13AE80"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2012","CveId":"3504","Ordinal":"1","Title":"CVE-2012-3504","CVE":"CVE-2012-3504","Year":"2012"},"notes":[{"CveYear":"2012","CveId":"3504","Ordinal":"1","NoteData":"The nssconfigFound function in genkey.pl in crypto-utils 2.4.1-34 allows local users to overwrite arbitrary files via a symlink attack on the \"list\" file in the current working directory.","Type":"Description","Title":"CVE-2012-3504"},{"CveYear":"2012","CveId":"3504","Ordinal":"2","NoteData":"2012-10-10","Type":"Other","Title":"Published"},{"CveYear":"2012","CveId":"3504","Ordinal":"3","NoteData":"2017-08-28","Type":"Other","Title":"Modified"}]}}}