# CVE-2012-5638

- Priority: **Routine**
- Reason: Not severe (CVSS 3.6, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2012-12-20 · Modified: 2024-08-06
- Aliases: RHBA-2012:1507, UBUNTU-CVE-2012-5638, DEBIAN-CVE-2012-5638
- Record: https://cvemate.com/vulnerability/CVE-2012-5638 · JSON: https://cvemate.com/vulnerability/CVE-2012-5638/json

## Description

```text
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.
```

## Signals

- CVSS: 3.6 low (v2.0, NVD) AV:L/AC:L/Au:N/C:N/I:P/A:P
- EPSS: 0.335%, percentile 28.723%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian sanlock (Debian): \< 2.2-2
- ubuntu sanlock (Ubuntu): \< 2.2-2
- ovirt sanlock: na
- redhat sanlock (Red Hat): \< 0:2.3-4.el6\_3
- redhat sanlock-debuginfo (Red Hat): \< 0:2.3-4.el6\_3
- redhat sanlock-devel (Red Hat): \< 0:2.3-4.el6\_3
- redhat sanlock-lib (Red Hat): \< 0:2.3-4.el6\_3
- redhat sanlock-python (Red Hat): \< 0:2.3-4.el6\_3

## References

- <http://rhn.redhat.com/errata/RHSA-2013-0691.html>
- <https://bugzilla.redhat.com/show_bug.cgi?id=887010>
- <https://access.redhat.com/errata/RHBA-2012:1507>
- <https://rhn.redhat.com/errata/RHBA-2012-1505.html>
- <https://bugzilla.redhat.com/show_bug.cgi?id=840953>
- <https://bugzilla.redhat.com/show_bug.cgi?id=840955>
- <https://bugzilla.redhat.com/show_bug.cgi?id=841991>
- <https://bugzilla.redhat.com/show_bug.cgi?id=841992>
- <https://bugzilla.redhat.com/show_bug.cgi?id=841994>
- <https://bugzilla.redhat.com/show_bug.cgi?id=841995>
- <https://bugzilla.redhat.com/show_bug.cgi?id=849181>
- <https://bugzilla.redhat.com/show_bug.cgi?id=849183>
- <https://bugzilla.redhat.com/show_bug.cgi?id=849184>
- <https://bugzilla.redhat.com/show_bug.cgi?id=849186>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2012/rhba-2012_1507.json>
- <https://access.redhat.com/security/cve/CVE-2012-5638>
- <https://www.cve.org/CVERecord?id=CVE-2012-5638>
- <https://nvd.nist.gov/vuln/detail/CVE-2012-5638>
- <https://ubuntu.com/security/CVE-2012-5638>
- <https://security-tracker.debian.org/tracker/CVE-2012-5638>

---

Data as of 2026-12-05T08:53:39.570Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
