UnratedFix available
sanlock — security advisory
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.
- Products
- sanlock
- Affected versions
- Not specified
- Fixed versions
- 2.2-2
- CVEs
- CVE-2012-5638
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 23:35 UTC · Revision 1
Source evidence
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.
osv:DEBIAN-CVE-2012-5638
sanlock
Fixed versions: 2.2-2
sanlock
Fixed versions: 2.2-2
sanlock
Fixed versions: 2.2-2
Complete source record
{
"id": "1b3e9b47ac5a99e107953efdd01cae314b3d75144bafa5912994d71506be4751",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2012-5638",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2012-5638",
"summary": "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.",
"evidence": "osv:DEBIAN-CVE-2012-5638",
"products": [
{
"name": {
"value": "sanlock",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.2-2",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "sanlock",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.2-2",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "sanlock",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.2-2",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "DEBIAN-CVE-2012-5638",
"aliases": [
"DEBIAN-CVE-2012-5638"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.2-2"
}
]
}
],
"package": {
"name": "sanlock",
"purl": "pkg:deb/debian/sanlock?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2012-5638.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.2-2"
}
]
}
],
"package": {
"name": "sanlock",
"purl": "pkg:deb/debian/sanlock?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2012-5638.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.2-2"
}
]
}
],
"package": {
"name": "sanlock",
"purl": "pkg:deb/debian/sanlock?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2012-5638.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-23T17:47:47.653379304Z",
"provider": "osv",
"upstream": [
"CVE-2012-5638"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2012-5638"
]
},
"related_cves": [
{
"value": "CVE-2012-5638",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 418976,
"published_at": "2012-12-20T12:02:18.637+00:00"
}