CVE-2012-0871

medium
Published 2014-04-18 ยท Modified 2026-05-06
CVSS v3
โ€”
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
6.3

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/.

Predictions

Exploit likelihood
20%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

OS impact

suse SUSE Affected 1 release
VersionStatusFixed in
12.1 Affected โ€”
debian Debian Fixed 5 releases
VersionStatusFixed in
trixie Fixed 43-1
sid Fixed 43-1
forky Fixed 43-1
bullseye Fixed 43-1
bookworm Fixed 43-1

Application impact

VendorProductVersionsFixed
systemd_projectsystemd{"endIncluding":"037"}
systemd_projectsystemd1
systemd_projectsystemd2
systemd_projectsystemd3
systemd_projectsystemd4
systemd_projectsystemd5
systemd_projectsystemd6
systemd_projectsystemd7
systemd_projectsystemd8
systemd_projectsystemd9
systemd_projectsystemd10
systemd_projectsystemd11
systemd_projectsystemd12
systemd_projectsystemd13
systemd_projectsystemd14
systemd_projectsystemd15
systemd_projectsystemd16
systemd_projectsystemd17
systemd_projectsystemd18
systemd_projectsystemd19
systemd_projectsystemd20
systemd_projectsystemd21
systemd_projectsystemd22
systemd_projectsystemd23
systemd_projectsystemd24
systemd_projectsystemd25
systemd_projectsystemd26
systemd_projectsystemd27
systemd_projectsystemd28
systemd_projectsystemd29
systemd_projectsystemd30
systemd_projectsystemd31
systemd_projectsystemd32
systemd_projectsystemd33
systemd_projectsystemd34
systemd_projectsystemd35
systemd_projectsystemd36

References

CWEs

CWE-59

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.