DescriptionContext relabeling of filesystems is vulnerable to symbolic link attack, allowing a local, unprivileged malicious entity to change the SELinux context of an arbitrary file to a context with few restrictions. This only happens when the relabeling process is done, usually when taking SELinux state from disabled to enable (permissive or enforcing). The issue was found in policycoreutils 2.5-11.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitylow (attack range: local)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
policycoreutils (PTS)jessie2.3-1vulnerable
buster, sid2.8-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs


[stretch] - policycoreutils <no-dsa> (Minor issue)
[jessie] - policycoreutils <no-dsa> (Minor issue)
[wheezy] - policycoreutils <no-dsa> (Minor issue)
Mitigation by removing any symbolic link in /tmp and /var/tmp directories
before relabeling the file system. Futhtermore only triggerable at
relabeling time.

Search for package or bug name: Reporting problems