CVE-2012-5638
The setup_logging function in log.h in SANLock uses world-writable permissions for /var/log...
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.
Exploit likelihood
What each source reports
NVD Score used
3.6
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.
- Record
CVE-2012-5638- CVSS 2.0
- 3.6 Low
AV:L/AC:L/Au:N/C:N/I:P/A:P - Weakness
- CWE-264
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2012-5638- Updated
- 2026-11-02
EUVDEUVD-2012-5522 No score
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.
- Record
EUVD-2012-5522- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-48rw-xq3g-hfw6 No score
The setup_logging function in log.h in SANLock uses world-writable permissions for /var/log...
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.
- Record
GHSA-48rw-xq3g-hfw6- Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2012-5638- Updated
- 2026-11-02
OSVDEBIAN-CVE-2012-5638 No score
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.
- Record
DEBIAN-CVE-2012-5638- Updated
- 2026-11-02
OSVUBUNTU-CVE-2012-5638 No score
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.
- Record
UBUNTU-CVE-2012-5638- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
sanlockDebian:12 |
before 2.2-2 | 2.2-2 |
sanlockDebian:13 |
before 2.2-2 | 2.2-2 |
sanlockDebian:14 |
before 2.2-2 | 2.2-2 |
sanlockRed Hat:enterprise_linux:6::hypervisor |
before 0:2.3-4.el6_3 | 0:2.3-4.el6_3 |
sanlock-debuginfoRed Hat:enterprise_linux:6::hypervisor |
before 0:2.3-4.el6_3 | 0:2.3-4.el6_3 |
sanlock-develRed Hat:enterprise_linux:6::hypervisor |
before 0:2.3-4.el6_3 | 0:2.3-4.el6_3 |
sanlock-libRed Hat:enterprise_linux:6::hypervisor |
before 0:2.3-4.el6_3 | 0:2.3-4.el6_3 |
sanlock-pythonRed Hat:enterprise_linux:6::hypervisor |
before 0:2.3-4.el6_3 | 0:2.3-4.el6_3 |
glusterfsRed Hat:storage:2:client:el5 |
before 0:3.3.0.7rhs-1.el5 | 0:3.3.0.7rhs-1.el5 |
glusterfs-debuginfoRed Hat:storage:2:client:el5 |
before 0:3.3.0.7rhs-1.el5 | 0:3.3.0.7rhs-1.el5 |
Show 67 moreShow less
| Package | Affected | Fixed |
|---|---|---|
glusterfs-develRed Hat:storage:2:client:el5 |
before 0:3.3.0.7rhs-1.el5 | 0:3.3.0.7rhs-1.el5 |
glusterfs-fuseRed Hat:storage:2:client:el5 |
before 0:3.3.0.7rhs-1.el5 | 0:3.3.0.7rhs-1.el5 |
glusterfs-rdmaRed Hat:storage:2:client:el5 |
before 0:3.3.0.7rhs-1.el5 | 0:3.3.0.7rhs-1.el5 |
applianceRed Hat:storage:2.0:server:el6 |
before 0:1.7.1-1.el6rhs | 0:1.7.1-1.el6rhs |
appliance-baseRed Hat:storage:2.0:server:el6 |
before 0:1.7.1-1.el6rhs | 0:1.7.1-1.el6rhs |
augeasRed Hat:storage:2.0:server:el6 |
before 0:0.9.0-1.el6 | 0:0.9.0-1.el6 |
augeas-debuginfoRed Hat:storage:2.0:server:el6 |
before 0:0.9.0-1.el6 | 0:0.9.0-1.el6 |
augeas-develRed Hat:storage:2.0:server:el6 |
before 0:0.9.0-1.el6 | 0:0.9.0-1.el6 |
augeas-libsRed Hat:storage:2.0:server:el6 |
before 0:0.9.0-1.el6 | 0:0.9.0-1.el6 |
gluster-swiftRed Hat:storage:2.0:server:el6 |
before 0:1.4.8-5.el6rhs | 0:1.4.8-5.el6rhs |
gluster-swift-accountRed Hat:storage:2.0:server:el6 |
before 0:1.4.8-5.el6rhs | 0:1.4.8-5.el6rhs |
gluster-swift-containerRed Hat:storage:2.0:server:el6 |
before 0:1.4.8-5.el6rhs | 0:1.4.8-5.el6rhs |
gluster-swift-docRed Hat:storage:2.0:server:el6 |
before 0:1.4.8-5.el6rhs | 0:1.4.8-5.el6rhs |
gluster-swift-objectRed Hat:storage:2.0:server:el6 |
before 0:1.4.8-5.el6rhs | 0:1.4.8-5.el6rhs |
gluster-swift-proxyRed Hat:storage:2.0:server:el6 |
before 0:1.4.8-5.el6rhs | 0:1.4.8-5.el6rhs |
glusterfsRed Hat:storage:2.0:server:el6 |
before 0:3.3.0.7rhs-1.el6rhs | 0:3.3.0.7rhs-1.el6rhs |
glusterfs-debuginfoRed Hat:storage:2.0:server:el6 |
before 0:3.3.0.7rhs-1.el6rhs | 0:3.3.0.7rhs-1.el6rhs |
glusterfs-develRed Hat:storage:2.0:server:el6 |
before 0:3.3.0.7rhs-1.el6rhs | 0:3.3.0.7rhs-1.el6rhs |
glusterfs-fuseRed Hat:storage:2.0:server:el6 |
before 0:3.3.0.7rhs-1.el6rhs | 0:3.3.0.7rhs-1.el6rhs |
glusterfs-geo-replicationRed Hat:storage:2.0:server:el6 |
before 0:3.3.0.7rhs-1.el6rhs | 0:3.3.0.7rhs-1.el6rhs |
glusterfs-rdmaRed Hat:storage:2.0:server:el6 |
before 0:3.3.0.7rhs-1.el6rhs | 0:3.3.0.7rhs-1.el6rhs |
glusterfs-serverRed Hat:storage:2.0:server:el6 |
before 0:3.3.0.7rhs-1.el6rhs | 0:3.3.0.7rhs-1.el6rhs |
libvirtRed Hat:storage:2.0:server:el6 |
before 0:0.9.10-21.el6_3.8 | 0:0.9.10-21.el6_3.8 |
libvirt-clientRed Hat:storage:2.0:server:el6 |
before 0:0.9.10-21.el6_3.8 | 0:0.9.10-21.el6_3.8 |
libvirt-debuginfoRed Hat:storage:2.0:server:el6 |
before 0:0.9.10-21.el6_3.8 | 0:0.9.10-21.el6_3.8 |
libvirt-develRed Hat:storage:2.0:server:el6 |
before 0:0.9.10-21.el6_3.8 | 0:0.9.10-21.el6_3.8 |
libvirt-lock-sanlockRed Hat:storage:2.0:server:el6 |
before 0:0.9.10-21.el6_3.8 | 0:0.9.10-21.el6_3.8 |
libvirt-pythonRed Hat:storage:2.0:server:el6 |
before 0:0.9.10-21.el6_3.8 | 0:0.9.10-21.el6_3.8 |
rhn-checkRed Hat:storage:2.0:server:el6 |
before 0:1.0.0-73.el6rhs | 0:1.0.0-73.el6rhs |
rhn-client-toolsRed Hat:storage:2.0:server:el6 |
before 0:1.0.0-73.el6rhs | 0:1.0.0-73.el6rhs |
rhn-setupRed Hat:storage:2.0:server:el6 |
before 0:1.0.0-73.el6rhs | 0:1.0.0-73.el6rhs |
rhn-setup-gnomeRed Hat:storage:2.0:server:el6 |
before 0:1.0.0-73.el6rhs | 0:1.0.0-73.el6rhs |
sanlockRed Hat:storage:2.0:server:el6 |
before 0:2.3-4.el6_3 | 0:2.3-4.el6_3 |
sanlock-debuginfoRed Hat:storage:2.0:server:el6 |
before 0:2.3-4.el6_3 | 0:2.3-4.el6_3 |
sanlock-develRed Hat:storage:2.0:server:el6 |
before 0:2.3-4.el6_3 | 0:2.3-4.el6_3 |
sanlock-libRed Hat:storage:2.0:server:el6 |
before 0:2.3-4.el6_3 | 0:2.3-4.el6_3 |
sanlock-pythonRed Hat:storage:2.0:server:el6 |
before 0:2.3-4.el6_3 | 0:2.3-4.el6_3 |
sosRed Hat:storage:2.0:server:el6 |
before 0:2.2-17.2.el6rhs | 0:2.2-17.2.el6rhs |
vdsmRed Hat:storage:2.0:server:el6 |
before 0:4.9.6-20.el6rhs | 0:4.9.6-20.el6rhs |
vdsm-bootstrapRed Hat:storage:2.0:server:el6 |
before 0:4.9.6-20.el6rhs | 0:4.9.6-20.el6rhs |
vdsm-cliRed Hat:storage:2.0:server:el6 |
before 0:4.9.6-20.el6rhs | 0:4.9.6-20.el6rhs |
vdsm-debug-pluginRed Hat:storage:2.0:server:el6 |
before 0:4.9.6-20.el6rhs | 0:4.9.6-20.el6rhs |
vdsm-debuginfoRed Hat:storage:2.0:server:el6 |
before 0:4.9.6-20.el6rhs | 0:4.9.6-20.el6rhs |
vdsm-glusterRed Hat:storage:2.0:server:el6 |
before 0:4.9.6-20.el6rhs | 0:4.9.6-20.el6rhs |
vdsm-hook-faqemuRed Hat:storage:2.0:server:el6 |
before 0:4.9.6-20.el6rhs | 0:4.9.6-20.el6rhs |
vdsm-hook-vhostmdRed Hat:storage:2.0:server:el6 |
before 0:4.9.6-20.el6rhs | 0:4.9.6-20.el6rhs |
vdsm-pythonRed Hat:storage:2.0:server:el6 |
before 0:4.9.6-20.el6rhs | 0:4.9.6-20.el6rhs |
vdsm-regRed Hat:storage:2.0:server:el6 |
before 0:4.9.6-20.el6rhs | 0:4.9.6-20.el6rhs |
rhscRed Hat:storage:2.0:console:el6 |
before 0:2.0.techpreview1-4.el6rhs | 0:2.0.techpreview1-4.el6rhs |
rhsc-backendRed Hat:storage:2.0:console:el6 |
before 0:2.0.techpreview1-4.el6rhs | 0:2.0.techpreview1-4.el6rhs |
rhsc-configRed Hat:storage:2.0:console:el6 |
before 0:2.0.techpreview1-4.el6rhs | 0:2.0.techpreview1-4.el6rhs |
rhsc-dbscriptsRed Hat:storage:2.0:console:el6 |
before 0:2.0.techpreview1-4.el6rhs | 0:2.0.techpreview1-4.el6rhs |
rhsc-genericapiRed Hat:storage:2.0:console:el6 |
before 0:2.0.techpreview1-4.el6rhs | 0:2.0.techpreview1-4.el6rhs |
rhsc-jboss-depsRed Hat:storage:2.0:console:el6 |
before 0:2.0.techpreview1-4.el6rhs | 0:2.0.techpreview1-4.el6rhs |
rhsc-notification-serviceRed Hat:storage:2.0:console:el6 |
before 0:2.0.techpreview1-4.el6rhs | 0:2.0.techpreview1-4.el6rhs |
rhsc-restapiRed Hat:storage:2.0:console:el6 |
before 0:2.0.techpreview1-4.el6rhs | 0:2.0.techpreview1-4.el6rhs |
rhsc-setupRed Hat:storage:2.0:console:el6 |
before 0:2.0.techpreview1-4.el6rhs | 0:2.0.techpreview1-4.el6rhs |
rhsc-tools-commonRed Hat:storage:2.0:console:el6 |
before 0:2.0.techpreview1-4.el6rhs | 0:2.0.techpreview1-4.el6rhs |
rhsc-userportalRed Hat:storage:2.0:console:el6 |
before 0:2.0.techpreview1-4.el6rhs | 0:2.0.techpreview1-4.el6rhs |
rhsc-webadmin-portalRed Hat:storage:2.0:console:el6 |
before 0:2.0.techpreview1-4.el6rhs | 0:2.0.techpreview1-4.el6rhs |
vdsmRed Hat:storage:2.0:console:el6 |
before 0:4.9.6-20.el6rhs | 0:4.9.6-20.el6rhs |
vdsm-bootstrapRed Hat:storage:2.0:console:el6 |
before 0:4.9.6-20.el6rhs | 0:4.9.6-20.el6rhs |
glusterfsRed Hat:storage:3:client:el6 |
before 0:3.3.0.7rhs-1.el6 | 0:3.3.0.7rhs-1.el6 |
glusterfs-debuginfoRed Hat:storage:3:client:el6 |
before 0:3.3.0.7rhs-1.el6 | 0:3.3.0.7rhs-1.el6 |
glusterfs-develRed Hat:storage:3:client:el6 |
before 0:3.3.0.7rhs-1.el6 | 0:3.3.0.7rhs-1.el6 |
glusterfs-fuseRed Hat:storage:3:client:el6 |
before 0:3.3.0.7rhs-1.el6 | 0:3.3.0.7rhs-1.el6 |
glusterfs-rdmaRed Hat:storage:3:client:el6 |
before 0:3.3.0.7rhs-1.el6 | 0:3.3.0.7rhs-1.el6 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2012-5638 is a low vulnerability (CVSS 3.6) in Ovirt Sanlock, published December 20, 2012. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.34%, the 26th percentile. Fixed in sanlock 2.2-2.
References
rhn.redhat.com/errata/RHSA-2013-0691.html
bugzilla.redhat.com/show_bug.cgi?id=887010
nvd.nist.gov/vuln/detail/CVE-2012-5638
github.com/advisories/GHSA-48rw-xq3g-hfw6
security-tracker.debian.org/tracker/CVE-2012-5638
access.redhat.com/errata/RHBA-2012:1507
Show 36 moreShow less
rhn.redhat.com/errata/RHBA-2012-1505.html
bugzilla.redhat.com/show_bug.cgi?id=840953
bugzilla.redhat.com/show_bug.cgi?id=840955
bugzilla.redhat.com/show_bug.cgi?id=841991
bugzilla.redhat.com/show_bug.cgi?id=841992
bugzilla.redhat.com/show_bug.cgi?id=841994
bugzilla.redhat.com/show_bug.cgi?id=841995
bugzilla.redhat.com/show_bug.cgi?id=849181
bugzilla.redhat.com/show_bug.cgi?id=849183
bugzilla.redhat.com/show_bug.cgi?id=849184
bugzilla.redhat.com/show_bug.cgi?id=849186
security.access.redhat.com/data/csaf/v2/advisories/2012/rhba-2012_1507.json
access.redhat.com/security/cve/CVE-2012-5638
cve.org/CVERecord?id=CVE-2012-5638
access.redhat.com/errata/RHSA-2013:0691
access.redhat.com/security/updates/classification
access.redhat.com/knowledge/docs/Red_Hat_Storage
bugzilla.redhat.com/show_bug.cgi?id=854757
bugzilla.redhat.com/show_bug.cgi?id=856206
bugzilla.redhat.com/show_bug.cgi?id=859387
bugzilla.redhat.com/show_bug.cgi?id=869724
bugzilla.redhat.com/show_bug.cgi?id=876679
bugzilla.redhat.com/show_bug.cgi?id=883590
bugzilla.redhat.com/show_bug.cgi?id=886364
bugzilla.redhat.com/show_bug.cgi?id=895841
bugzilla.redhat.com/show_bug.cgi?id=902213
bugzilla.redhat.com/show_bug.cgi?id=922572
bugzilla.redhat.com/show_bug.cgi?id=923674
security.access.redhat.com/data/csaf/v2/advisories/2013/rhsa-2013_0691.json
access.redhat.com/security/cve/CVE-2012-4406
cve.org/CVERecord?id=CVE-2012-4406
nvd.nist.gov/vuln/detail/CVE-2012-4406
access.redhat.com/security/cve/CVE-2012-5635
cve.org/CVERecord?id=CVE-2012-5635
nvd.nist.gov/vuln/detail/CVE-2012-5635
ubuntu.com/security/CVE-2012-5638