{"schemaVersion":4,"id":"CVE-2012-5638","aliases":["RHBA-2012:1507","UBUNTU-CVE-2012-5638","DEBIAN-CVE-2012-5638"],"status":"published","duplicateOf":null,"title":null,"description":"The setup_logging function in log.h in SANLock uses world-writable permissions for /var/log/sanlock.log, which allows local users to overwrite the file content or bypass intended disk-quota restrictions via standard filesystem write operations.","dates":{"published":"2012-12-20T11:00:00.000Z","modified":"2024-08-06T21:14:16.192Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":3.6,"severity":"low","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:L/AC:L/Au:N/C:N/I:P/A:P","computed":false,"selection":"backend-summary"},"metrics":[{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":3.6,"severity":"low","vector":"AV:L/AC:L/Au:N/C:N/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00335,"percentile":0.28723,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.00335},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00335,"percentile":0.28723}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00335,"percentile":0.28723}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-264","name":"Permissions, Privileges, and Access Controls","description":"Weaknesses in this category are related to the management of permissions, privileges, and other security features that are used to perform access control.","type":"category","status":"Obsolete","abstraction":null,"likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/264.html"}],"affected":[{"vendor":"debian","product":"sanlock","name":"sanlock","label":"sanlock","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/sanlock","purlType":"deb","versions":[{"text":"< 2.2-2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.2-2","endInclusive":false}}],"versionsText":"< 2.2-2","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"sanlock","name":"sanlock","label":"sanlock","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/sanlock","purlType":"deb","versions":[{"text":"< 2.2-2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.2-2","endInclusive":false}}],"versionsText":"< 2.2-2","eol":null,"hubHref":null},{"vendor":"ovirt","product":"sanlock","name":"sanlock","label":"sanlock","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"unspecified"}}],"versionsText":"na","eol":null,"hubHref":"/vendor/ovirt/sanlock"},{"vendor":"redhat","product":"sanlock","name":"sanlock","label":"sanlock","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/sanlock","purlType":"rpm","versions":[{"text":"< 0:2.3-4.el6_3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0:2.3-4.el6_3","endInclusive":false}}],"versionsText":"< 0:2.3-4.el6_3","eol":null,"hubHref":null},{"vendor":"redhat","product":"sanlock-debuginfo","name":"sanlock-debuginfo","label":"sanlock-debuginfo","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/sanlock-debuginfo","purlType":"rpm","versions":[{"text":"< 0:2.3-4.el6_3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0:2.3-4.el6_3","endInclusive":false}}],"versionsText":"< 0:2.3-4.el6_3","eol":null,"hubHref":null},{"vendor":"redhat","product":"sanlock-devel","name":"sanlock-devel","label":"sanlock-devel","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/sanlock-devel","purlType":"rpm","versions":[{"text":"< 0:2.3-4.el6_3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0:2.3-4.el6_3","endInclusive":false}}],"versionsText":"< 0:2.3-4.el6_3","eol":null,"hubHref":null},{"vendor":"redhat","product":"sanlock-lib","name":"sanlock-lib","label":"sanlock-lib","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/sanlock-lib","purlType":"rpm","versions":[{"text":"< 0:2.3-4.el6_3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0:2.3-4.el6_3","endInclusive":false}}],"versionsText":"< 0:2.3-4.el6_3","eol":null,"hubHref":null},{"vendor":"redhat","product":"sanlock-python","name":"sanlock-python","label":"sanlock-python","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/sanlock-python","purlType":"rpm","versions":[{"text":"< 0:2.3-4.el6_3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0:2.3-4.el6_3","endInclusive":false}}],"versionsText":"< 0:2.3-4.el6_3","eol":null,"hubHref":null}],"affectedCount":8,"eol":{"hasEol":false,"count":0},"references":[{"url":"http://rhn.redhat.com/errata/RHSA-2013-0691.html","label":"rhn.redhat.com/errata/RHSA-2013-0691.html","hostname":"rhn.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=887010","label":"bugzilla.redhat.com/show_bug.cgi?id=887010","hostname":"bugzilla.redhat.com","tags":["X Refsource CONFIRM","REPORT"]},{"url":"https://access.redhat.com/errata/RHBA-2012:1507","label":"access.redhat.com/errata/RHBA-2012:1507","hostname":"access.redhat.com","tags":["Advisory"]},{"url":"https://rhn.redhat.com/errata/RHBA-2012-1505.html","label":"rhn.redhat.com/errata/RHBA-2012-1505.html","hostname":"rhn.redhat.com","tags":["ARTICLE"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=840953","label":"bugzilla.redhat.com/show_bug.cgi?id=840953","hostname":"bugzilla.redhat.com","tags":["REPORT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=840955","label":"bugzilla.redhat.com/show_bug.cgi?id=840955","hostname":"bugzilla.redhat.com","tags":["REPORT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=841991","label":"bugzilla.redhat.com/show_bug.cgi?id=841991","hostname":"bugzilla.redhat.com","tags":["REPORT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=841992","label":"bugzilla.redhat.com/show_bug.cgi?id=841992","hostname":"bugzilla.redhat.com","tags":["REPORT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=841994","label":"bugzilla.redhat.com/show_bug.cgi?id=841994","hostname":"bugzilla.redhat.com","tags":["REPORT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=841995","label":"bugzilla.redhat.com/show_bug.cgi?id=841995","hostname":"bugzilla.redhat.com","tags":["REPORT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=849181","label":"bugzilla.redhat.com/show_bug.cgi?id=849181","hostname":"bugzilla.redhat.com","tags":["REPORT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=849183","label":"bugzilla.redhat.com/show_bug.cgi?id=849183","hostname":"bugzilla.redhat.com","tags":["REPORT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=849184","label":"bugzilla.redhat.com/show_bug.cgi?id=849184","hostname":"bugzilla.redhat.com","tags":["REPORT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=849186","label":"bugzilla.redhat.com/show_bug.cgi?id=849186","hostname":"bugzilla.redhat.com","tags":["REPORT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2012/rhba-2012_1507.json","label":"security.access.redhat.com/data/csaf/v2/advisories/2012/rhba-2012_1507.json","hostname":"security.access.redhat.com","tags":["Advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2012-5638","label":"access.redhat.com/security/cve/CVE-2012-5638","hostname":"access.redhat.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-5638","label":"www.cve.org/CVERecord?id=CVE-2012-5638","hostname":"www.cve.org","tags":["Advisory","REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-5638","label":"nvd.nist.gov/vuln/detail/CVE-2012-5638","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2012-5638","label":"ubuntu.com/security/CVE-2012-5638","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2012-5638","label":"security-tracker.debian.org/tracker/CVE-2012-5638","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["RHSA-2013:0691"],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2012-12-20T11:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-06T21:14:16.192Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 3.6, local access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,36],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00335,"stale":false,"promoted":null},{"type":"cvss","source":"nvd","date":"2024-08-06T21:14:16.192Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":3.6,"vector":"AV:L/AC:L/Au:N/C:N/I:P/A:P","version":"2.0","headline":true}],"epss":{"value":0.00335,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T08:03:29.184Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T08:03:29.748Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T08:03:29.946Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T08:01:00.622Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T08:03:27.537Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T08:03:26.585Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T08:55:08.053Z","stale":false,"partial":false}}