{"api_version":"1","generated_at":"2026-07-23T05:37:19+00:00","cve":"CVE-2012-5630","urls":{"html":"https://cve.report/CVE-2012-5630","api":"https://cve.report/api/cve/CVE-2012-5630.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2012-5630","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2012-5630"},"summary":{"title":"CVE-2012-5630","description":"libuser 0.56 and 0.57 has a TOCTOU (time-of-check time-of-use) race condition when copying and removing directory trees.","state":"PUBLIC","assigner":"secalert@redhat.com","published_at":"2019-11-25 14:15:00","updated_at":"2019-12-04 15:43:00"},"problem_types":["CWE-367"],"metrics":[],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2012-5630","name":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2012-5630","refsource":"MISC","tags":["Issue Tracking","Third Party Advisory"],"title":"884685 – (CVE-2012-5630) CVE-2012-5630 libuser: TOCTOU race conditions by copying and removing directory trees","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://access.redhat.com/security/cve/cve-2012-5630","name":"Red Hat","refsource":"REDHAT","tags":["Third Party Advisory"],"title":"CVE-2012-5630 - Red Hat Customer Portal","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.securityfocus.com/bid/59285","name":"https://www.securityfocus.com/bid/59285","refsource":"MISC","tags":["Third Party Advisory","VDB Entry"],"title":"libuser CVE-2012-5630 Symlink Attack Local Security Bypass Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2013-April/102068.html","name":"Fedora","refsource":"FEDORA","tags":["Third Party Advisory"],"title":"[SECURITY] Fedora 18 Update: libuser-0.58-3.fc18","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://security-tracker.debian.org/tracker/CVE-2012-5630","name":"https://security-tracker.debian.org/tracker/CVE-2012-5630","refsource":"MISC","tags":["Third Party Advisory"],"title":"CVE-2012-5630","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-5630","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-5630","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2012","cve_id":"5630","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"18","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2012","cve_id":"5630","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"18","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2012","cve_id":"5630","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"libuser_project","cpe5":"libuser","cpe6":"0.57","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2012","cve_id":"5630","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"libuser_project","cpe5":"libuser","cpe6":"0.58","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2012","cve_id":"5630","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"libuser_project","cpe5":"libuser","cpe6":"0.57","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2012","cve_id":"5630","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"libuser_project","cpe5":"libuser","cpe6":"0.58","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2012","cve_id":"5630","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"redhat","cpe5":"enterprise_linux","cpe6":"5.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2012","cve_id":"5630","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"redhat","cpe5":"enterprise_linux","cpe6":"6.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2012","cve_id":"5630","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"redhat","cpe5":"enterprise_linux","cpe6":"5.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2012","cve_id":"5630","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"redhat","cpe5":"enterprise_linux","cpe6":"6.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2012-5630","ASSIGNER":"secalert@redhat.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"libuser 0.56 and 0.57 has a TOCTOU (time-of-check time-of-use) race condition when copying and removing directory trees."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"race conditions by copying and removing directory trees"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"libuser","product":{"product_data":[{"product_name":"libuser","version":{"version_data":[{"version_affected":"=","version_value":"0.57"},{"version_affected":"=","version_value":"0.56"}]}}]}}]}},"references":{"reference_data":[{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2013-April/102068.html","refsource":"MISC","name":"http://lists.fedoraproject.org/pipermail/package-announce/2013-April/102068.html"},{"url":"https://access.redhat.com/security/cve/cve-2012-5630","refsource":"MISC","name":"https://access.redhat.com/security/cve/cve-2012-5630"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2012-5630","refsource":"MISC","name":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2012-5630"},{"url":"https://security-tracker.debian.org/tracker/CVE-2012-5630","refsource":"MISC","name":"https://security-tracker.debian.org/tracker/CVE-2012-5630"},{"url":"https://www.securityfocus.com/bid/59285","refsource":"MISC","name":"https://www.securityfocus.com/bid/59285"}]}},"nvd":{"publishedDate":"2019-11-25 14:15:00","lastModifiedDate":"2019-12-04 15:43:00","problem_types":["CWE-367"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":6.3,"baseSeverity":"MEDIUM"},"exploitabilityScore":1,"impactScore":5.2},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:L/AC:M/Au:N/C:N/I:P/A:P","accessVector":"LOCAL","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":3.3},"severity":"LOW","exploitabilityScore":3.4,"impactScore":4.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:libuser_project:libuser:0.57:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:libuser_project:libuser:0.58:*:*:*:*:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:18:*:*:*:*:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:redhat:enterprise_linux:5.0:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2012","CveId":"5630","Ordinal":"58656","Title":"CVE-2012-5630","CVE":"CVE-2012-5630","Year":"2012"},"notes":[{"CveYear":"2012","CveId":"5630","Ordinal":"1","NoteData":"libuser 0.56 and 0.57 has a TOCTOU (time-of-check time-of-use) race condition when copying and removing directory trees.","Type":"Description","Title":null},{"CveYear":"2012","CveId":"5630","Ordinal":"2","NoteData":"2019-11-25","Type":"Other","Title":"Published"},{"CveYear":"2012","CveId":"5630","Ordinal":"3","NoteData":"2019-11-25","Type":"Other","Title":"Modified"}]}}}