UBUNTU-CVE-2012-5638

Source
https://ubuntu.com/security/CVE-2012-5638
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2012/UBUNTU-CVE-2012-5638.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2012-5638
Upstream
Withdrawn
2025-07-18T16:42:48Z
Published
2012-12-20T12:02:00Z
Modified
2025-07-16T08:16:09.936363Z
Severity
  • Ubuntu - medium
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:14.04:LTS / sanlock

Package

Name
sanlock
Purl
pkg:deb/ubuntu/sanlock@2.2-2?arch=source&distro=trusty

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.2-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libsanlock-client1",
            "binary_version": "2.2-2"
        },
        {
            "binary_name": "libsanlock-dev",
            "binary_version": "2.2-2"
        },
        {
            "binary_name": "sanlock",
            "binary_version": "2.2-2"
        }
    ],
    "availability": "No subscription required"
}

Ubuntu:16.04:LTS / sanlock

Package

Name
sanlock
Purl
pkg:deb/ubuntu/sanlock@2.2-2?arch=source&distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.2-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libsanlock-client1",
            "binary_version": "2.2-2"
        },
        {
            "binary_name": "libsanlock-client1-dbgsym",
            "binary_version": "2.2-2"
        },
        {
            "binary_name": "libsanlock-dev",
            "binary_version": "2.2-2"
        },
        {
            "binary_name": "sanlock",
            "binary_version": "2.2-2"
        },
        {
            "binary_name": "sanlock-dbgsym",
            "binary_version": "2.2-2"
        }
    ],
    "availability": "No subscription required"
}