CVE-2012-0871

Summary

CVECVE-2012-0871
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2014-04-18 14:55:25 UTC
Updated2026-05-06 22:30:45 UTC
DescriptionThe 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/.

Risk And Classification

Primary CVSS: v2.0 6.3 from [email protected]

AV:L/AC:M/Au:N/C:N/I:C/A:C

Problem Types: CWE-59 | n/a

CVSS v2.0 Breakdown

Access Vector
Local
Access Complexity
Medium
Authentication
None
Confidentiality
None
Integrity
Complete
Availability
Complete

AV:L/AC:M/Au:N/C:N/I:C/A:C

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Opensuse Opensuse 12.1 All All All
Application Systemd Project Systemd 1 All All All
Application Systemd Project Systemd 10 All All All
Application Systemd Project Systemd 11 All All All
Application Systemd Project Systemd 12 All All All
Application Systemd Project Systemd 13 All All All
Application Systemd Project Systemd 14 All All All
Application Systemd Project Systemd 15 All All All
Application Systemd Project Systemd 16 All All All
Application Systemd Project Systemd 17 All All All
Application Systemd Project Systemd 18 All All All
Application Systemd Project Systemd 19 All All All
Application Systemd Project Systemd 2 All All All
Application Systemd Project Systemd 20 All All All
Application Systemd Project Systemd 21 All All All
Application Systemd Project Systemd 22 All All All
Application Systemd Project Systemd 23 All All All
Application Systemd Project Systemd 24 All All All
Application Systemd Project Systemd 25 All All All
Application Systemd Project Systemd 26 All All All
Application Systemd Project Systemd 27 All All All
Application Systemd Project Systemd 28 All All All
Application Systemd Project Systemd 29 All All All
Application Systemd Project Systemd 3 All All All
Application Systemd Project Systemd 30 All All All
Application Systemd Project Systemd 31 All All All
Application Systemd Project Systemd 32 All All All
Application Systemd Project Systemd 33 All All All
Application Systemd Project Systemd 34 All All All
Application Systemd Project Systemd 35 All All All
Application Systemd Project Systemd 36 All All All
Application Systemd Project Systemd 4 All All All
Application Systemd Project Systemd 5 All All All
Application Systemd Project Systemd 6 All All All
Application Systemd Project Systemd 7 All All All
Application Systemd Project Systemd 8 All All All
Application Systemd Project Systemd 9 All All All
Application Systemd Project Systemd All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
systemd/systemd - System and Session Manager af854a3a-2127-422b-91ae-364da2661108 cgit.freedesktop.org
795853 – (CVE-2012-0871) CVE-2012-0871 systemd: insecure file creation may lead to elevated privileges af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com
www.osvdb.org/79768 af854a3a-2127-422b-91ae-364da2661108 www.osvdb.org
[security-announce] SUSE Security Announcement: systemd (SUSE-SA:2012:00 af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org
Access Denied af854a3a-2127-422b-91ae-364da2661108 bugzilla.novell.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report