CVE Database›CVE-2018-1063

CVE-2018-1063

policycoreutils: Relabelling of symbolic links in /tmp and /var/tmp change the context of their target instead

Loading…

Severity

Low

Red Hat Product Security

3.9

CVSS 3.0

Review impact separately from score.

Published · February 28, 2018

Updated · June 27, 2026

Description

Context 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).

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

Remove any symbolic links from /tmp and /var/tmp directories before relabeling the file system.

CVSS / CWE

CVSS 3.0 · 3.9
CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N

CWE-59 · Improper Link Resolution Before File Access ('Link Following')