What’s Vulnerable › Vulnerabilities
CVE-2012-0871
- Severity: medium (CVSS 6.3 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2014-04-18 · updated 2026-06-16
- Weakness: CWE-59
Description
The session_link_x11_socket function in login/logind-session.c in systemd-logind in systemd, possibly 37 and earlier, allows local users to create or overwrite arbitrary files via a symlink attack on the X11 user directory in /run/user/.
Affected products
References
- http://cgit.freedesktop.org/systemd/systemd/commit/?id=fc3c1c6e091ea16ad5600b145201ec535bbb5d7c
- http://lists.opensuse.org/opensuse-security-announce/2012-02/msg00030.html
- http://www.osvdb.org/79768
- https://bugzilla.novell.com/show_bug.cgi?id=747154
- https://bugzilla.redhat.com/show_bug.cgi?id=795853
- http://cgit.freedesktop.org/systemd/systemd/commit/?id=fc3c1c6e091ea16ad5600b145201ec535bbb5d7c
- http://lists.opensuse.org/opensuse-security-announce/2012-02/msg00030.html
- http://www.osvdb.org/79768
- https://bugzilla.novell.com/show_bug.cgi?id=747154
- https://bugzilla.redhat.com/show_bug.cgi?id=795853
Get alerted when CVE-2012-0871 or the next vulnerability affects your stack