{"api_version":"1","generated_at":"2026-07-23T09:29:12+00:00","cve":"CVE-2007-0476","urls":{"html":"https://cve.report/CVE-2007-0476","api":"https://cve.report/api/cve/CVE-2007-0476.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2007-0476","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2007-0476"},"summary":{"title":"CVE-2007-0476","description":"The gencert.sh script, when installing OpenLDAP before 2.1.30-r10, 2.2.x before 2.2.28-r7, and 2.3.x before 2.3.30-r2 as an ebuild in Gentoo Linux, does not create temporary directories in /tmp securely during emerge, which allows local users to overwrite arbitrary files via a symlink attack.","state":"PUBLISHED","assigner":"mitre","published_at":"2007-01-25 00:28:00","updated_at":"2026-04-23 00:35:47"},"problem_types":["NVD-CWE-Other","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"4.6","severity":"","vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","data":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:P/I:P/A:P","baseScore":4.6,"accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"}}],"references":[{"url":"http://security.gentoo.org/glsa/glsa-200701-19.xml","name":"http://security.gentoo.org/glsa/glsa-200701-19.xml","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"OpenLDAP: Insecure usage of /tmp during installation — Gentoo Linux Documentation","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.vupen.com/english/advisories/2007/0305","name":"http://www.vupen.com/english/advisories/2007/0305","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Webmail : Solution de messagerie professionnelle - OVHcloud- OVH","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://osvdb.org/31617","name":"http://osvdb.org/31617","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"","httpstatus":"-1","archivestatus":"0"},{"url":"http://www.securityfocus.com/bid/22195","name":"http://www.securityfocus.com/bid/22195","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"OpenLDAP Gentoo GenCert.SH Script Insecure Temporary File Creation Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"http://secunia.com/advisories/23881","name":"http://secunia.com/advisories/23881","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"Gentoo update for openldap - Advisories - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2007-0476","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-0476","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":"2007","cve_id":"476","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"gentoo","cpe5":"linux","cpe6":"2.1.30","cpe7":"r9","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2007","cve_id":"476","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"gentoo","cpe5":"linux","cpe6":"2.2.28","cpe7":"r7","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2007","cve_id":"476","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"gentoo","cpe5":"linux","cpe6":"2.3.30","cpe7":"r2","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-07T12:19:30.156Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"ADV-2007-0305","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"],"url":"http://www.vupen.com/english/advisories/2007/0305"},{"name":"23881","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/23881"},{"name":"22195","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/22195"},{"name":"31617","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"],"url":"http://osvdb.org/31617"},{"name":"GLSA-200701-19","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"],"url":"http://security.gentoo.org/glsa/glsa-200701-19.xml"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2007-01-23T00:00:00.000Z","descriptions":[{"lang":"en","value":"The gencert.sh script, when installing OpenLDAP before 2.1.30-r10, 2.2.x before 2.2.28-r7, and 2.3.x before 2.3.30-r2 as an ebuild in Gentoo Linux, does not create temporary directories in /tmp securely during emerge, which allows local users to overwrite arbitrary files via a symlink attack."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2008-11-15T10:00:00.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"name":"ADV-2007-0305","tags":["vdb-entry","x_refsource_VUPEN"],"url":"http://www.vupen.com/english/advisories/2007/0305"},{"name":"23881","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/23881"},{"name":"22195","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/22195"},{"name":"31617","tags":["vdb-entry","x_refsource_OSVDB"],"url":"http://osvdb.org/31617"},{"name":"GLSA-200701-19","tags":["vendor-advisory","x_refsource_GENTOO"],"url":"http://security.gentoo.org/glsa/glsa-200701-19.xml"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2007-0476","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":"The gencert.sh script, when installing OpenLDAP before 2.1.30-r10, 2.2.x before 2.2.28-r7, and 2.3.x before 2.3.30-r2 as an ebuild in Gentoo Linux, does not create temporary directories in /tmp securely during emerge, which allows local users to overwrite arbitrary files via a symlink attack."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"ADV-2007-0305","refsource":"VUPEN","url":"http://www.vupen.com/english/advisories/2007/0305"},{"name":"23881","refsource":"SECUNIA","url":"http://secunia.com/advisories/23881"},{"name":"22195","refsource":"BID","url":"http://www.securityfocus.com/bid/22195"},{"name":"31617","refsource":"OSVDB","url":"http://osvdb.org/31617"},{"name":"GLSA-200701-19","refsource":"GENTOO","url":"http://security.gentoo.org/glsa/glsa-200701-19.xml"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2007-0476","datePublished":"2007-01-25T00:00:00.000Z","dateReserved":"2007-01-24T00:00:00.000Z","dateUpdated":"2024-08-07T12:19:30.156Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2007-01-25 00:28:00","lastModifiedDate":"2026-04-23 00:35:47","problem_types":["NVD-CWE-Other","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:P/I:P/A:P","baseScore":4.6,"accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"MEDIUM","exploitabilityScore":3.9,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":true,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:gentoo:linux:2.1.30:r9:*:*:*:*:*:*","matchCriteriaId":"E37447BF-08C8-4FFA-92A7-12FD90ACA2C3"},{"vulnerable":true,"criteria":"cpe:2.3:o:gentoo:linux:2.2.28:r7:*:*:*:*:*:*","matchCriteriaId":"B316EE1B-81DA-446A-8B62-1421ECA4D20F"},{"vulnerable":true,"criteria":"cpe:2.3:o:gentoo:linux:2.3.30:r2:*:*:*:*:*:*","matchCriteriaId":"DA9F35B8-BE0D-4C5D-BBE9-79E10B5C7071"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2007","CveId":"476","Ordinal":"1","Title":"CVE-2007-0476","CVE":"CVE-2007-0476","Year":"2007"},"notes":[{"CveYear":"2007","CveId":"476","Ordinal":"1","NoteData":"The gencert.sh script, when installing OpenLDAP before 2.1.30-r10, 2.2.x before 2.2.28-r7, and 2.3.x before 2.3.30-r2 as an ebuild in Gentoo Linux, does not create temporary directories in /tmp securely during emerge, which allows local users to overwrite arbitrary files via a symlink attack.","Type":"Description","Title":"CVE-2007-0476"},{"CveYear":"2007","CveId":"476","Ordinal":"2","NoteData":"2007-01-24","Type":"Other","Title":"Published"},{"CveYear":"2007","CveId":"476","Ordinal":"3","NoteData":"2008-11-15","Type":"Other","Title":"Modified"}]}}}