{"schemaVersion":3,"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.2537,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00: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":0.2537}],"last30":[{"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":0.2537}]},"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}],"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}],"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}],"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}],"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}],"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}],"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}],"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}],"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}],"risk":{"score":14,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T05:26:02.257Z","stale":false,"partial":false}}