Access Restriction Bypass Affecting sanlock package, versions <2.2-2


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.04% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN12-SANLOCK-1559154
  • published20 Dec 2012
  • disclosed20 Dec 2012

Introduced: 20 Dec 2012

CVE-2012-5638  (opens in a new tab)
CWE-264  (opens in a new tab)

How to fix?

Upgrade Debian:12 sanlock to version 2.2-2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream sanlock package and not the sanlock package as distributed by Debian. See How to fix? for Debian:12 relevant fixed versions and status.

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.

CVSS Scores

version 3.1