CVEfocus › CVE database › CVE-2012-5638

CVE-2012-5638

EPSS 0.3% (higher than 27% of CVEs)Published 2012-12-20Updated 2024-08-06Assigner: redhat

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.

What to do

Fixed builds are available from Debian, Red Hat: see the table below for the fixed version per release.

Red Hat has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

7Fixed
1Fix pending
3Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 18.04sanlockNot affected
vulnerable_code_not_present
Ubuntu 16.04sanlockNot affected
vulnerable_code_not_present
Ubuntu 14.04sanlockNot affected
vulnerable_code_not_present
Debian 14sanlockFixed2.2-2DEBIAN-CVE-2012-5638
Debian 13sanlockFixed2.2-2DEBIAN-CVE-2012-5638
Debian 12sanlockFixed2.2-2DEBIAN-CVE-2012-5638
Red Hat Enterprise Linux 6fence-sanlockFix pending
Affected
Red Hat Enterprise Linux 6sanlockFixed
Affected
0:2.3-4.el6_3RHBA-2012:1507
Red Hat Enterprise Linux 6sanlock-develFixed
Affected
0:2.3-4.el6_3RHBA-2012:1507
Red Hat Enterprise Linux 6sanlock-libFixed
Affected
0:2.3-4.el6_3RHBA-2012:1507
Red Hat Enterprise Linux 6sanlock-pythonFixed
Affected
0:2.3-4.el6_3RHBA-2012:1507

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.