CVE-2012-0871
CVE-2012-0871 is a medium-severity vulnerability in Systemd Project Systemd with a CVSS 2.0 base score of 6.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-59.
Key facts
- Severity: Medium (CVSS 2.0 base score 6.3)
- EPSS exploit prediction: 0% (28th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-59
- Affected product: Systemd Project Systemd
- Published:
- Last modified:
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/.
Frequently asked questions
- What is CVE-2012-0871?
- 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/.
- How severe is CVE-2012-0871?
- CVE-2012-0871 has a CVSS 2.0 base score of 6.3, rated medium severity.
- Is CVE-2012-0871 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (28th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2012-0871?
- CVE-2012-0871 primarily affects Systemd Project Systemd. In total, 38 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2012-0871?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2012-0871 published?
- CVE-2012-0871 was published on 2014-04-18 and last updated on 2026-06-16.
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
Affected products (38)
- cpe:2.3:a:systemd_project:systemd:*:*:*:*:*:*:*:*
- cpe:2.3:a:systemd_project:systemd:1:*:*:*:*:*:*:*
- cpe:2.3:a:systemd_project:systemd:2:*:*:*:*:*:*:*
- cpe:2.3:a:systemd_project:systemd:3:*:*:*:*:*:*:*
- cpe:2.3:a:systemd_project:systemd:4:*:*:*:*:*:*:*
- cpe:2.3:a:systemd_project:systemd:5:*:*:*:*:*:*:*
- cpe:2.3:a:systemd_project:systemd:6:*:*:*:*:*:*:*
- cpe:2.3:a:systemd_project:systemd:7:*:*:*:*:*:*:*
- cpe:2.3:a:systemd_project:systemd:8:*:*:*:*:*:*:*
- cpe:2.3:a:systemd_project:systemd:9:*:*:*:*:*:*:*
- cpe:2.3:a:systemd_project:systemd:10:*:*:*:*:*:*:*
- cpe:2.3:a:systemd_project:systemd:11:*:*:*:*:*:*:*
- cpe:2.3:a:systemd_project:systemd:12:*:*:*:*:*:*:*
- cpe:2.3:a:systemd_project:systemd:13:*:*:*:*:*:*:*
- cpe:2.3:a:systemd_project:systemd:14:*:*:*:*:*:*:*
- cpe:2.3:a:systemd_project:systemd:15:*:*:*:*:*:*:*
- cpe:2.3:a:systemd_project:systemd:16:*:*:*:*:*:*:*
- cpe:2.3:a:systemd_project:systemd:17:*:*:*:*:*:*:*
- cpe:2.3:a:systemd_project:systemd:18:*:*:*:*:*:*:*
- cpe:2.3:a:systemd_project:systemd:19:*:*:*:*:*:*:*
- cpe:2.3:a:systemd_project:systemd:20:*:*:*:*:*:*:*
- cpe:2.3:a:systemd_project:systemd:21:*:*:*:*:*:*:*
- cpe:2.3:a:systemd_project:systemd:22:*:*:*:*:*:*:*
- cpe:2.3:a:systemd_project:systemd:23:*:*:*:*:*:*:*
- cpe:2.3:a:systemd_project:systemd:24:*:*:*:*:*:*:*
- cpe:2.3:a:systemd_project:systemd:25:*:*:*:*:*:*:*
- cpe:2.3:a:systemd_project:systemd:26:*:*:*:*:*:*:*
- cpe:2.3:a:systemd_project:systemd:27:*:*:*:*:*:*:*
- cpe:2.3:a:systemd_project:systemd:28:*:*:*:*:*:*:*
- cpe:2.3:a:systemd_project:systemd:29:*:*:*:*:*:*:*
- cpe:2.3:a:systemd_project:systemd:30:*:*:*:*:*:*:*
- cpe:2.3:a:systemd_project:systemd:31:*:*:*:*:*:*:*
- cpe:2.3:a:systemd_project:systemd:32:*:*:*:*:*:*:*
- cpe:2.3:a:systemd_project:systemd:33:*:*:*:*:*:*:*
- cpe:2.3:a:systemd_project:systemd:34:*:*:*:*:*:*:*
- cpe:2.3:a:systemd_project:systemd:35:*:*:*:*:*:*:*
- cpe:2.3:a:systemd_project:systemd:36:*:*:*:*:*:*:*
- cpe:2.3:o:opensuse:opensuse:12.1:*:*:*:*:*:*:*
More vulnerabilities in Systemd Project Systemd
- CVE-2022-2526 — Critical (CVSS 9.8): A use-after-free vulnerability was found in systemd. This issue occurs due to the on_stream_io() function and…
- CVE-2018-21029 — Critical (CVSS 9.8): systemd 239 through 245 accepts any certificate signed by a trusted certificate authority for DNS Over TLS. Server Name…
- CVE-2015-7510 — Critical (CVSS 9.8): Stack-based buffer overflow in the getpwnam and getgrnam functions of the NSS module nss-mymachines in systemd.
- CVE-2017-1000082 — Critical (CVSS 9.8): systemd v233 and earlier fails to safely parse usernames starting with a numeric digit (e.g. "0day"), running the…
- CVE-2018-15688 — High (CVSS 8.8): A buffer overflow vulnerability in the dhcp6 client of systemd allows a malicious dhcp6 server to overwrite heap memory…
- CVE-2023-26604 — High (CVSS 7.8): systemd before 247 does not adequately block local privilege escalation for some Sudo configurations, e.g., plausible…
All CVEs affecting Systemd Project Systemd →
Other CWE-59 (Improper Link Resolution Before File Access (Link Following)) vulnerabilities
- CVE-2024-37143 — Critical (CVSS 10.0): Dell PowerFlex appliance versions prior to IC 46.381.00 and IC 46.376.00, Dell PowerFlex rack versions prior to RCM…
- CVE-2024-28189 — Critical (CVSS 10.0): Judge0 is an open-source online code execution system. The application uses the UNIX chown command on an untrusted file…
- CVE-2024-28185 — Critical (CVSS 10.0): Judge0 is an open-source online code execution system. The application does not account for symlinks placed inside the…
- CVE-2022-22995 — Critical (CVSS 10.0): The combination of primitives offered by SMB and AFP in their default configuration allows the arbitrary writing of…
- CVE-2014-4480 — Critical (CVSS 10.0): Directory traversal vulnerability in afc in AppleFileConduit in Apple iOS before 8.1.3 and Apple TV before 7.0.3 allows…
- CVE-2002-2374 — Critical (CVSS 10.0): Unspecified vulnerability in pprosetup in Sun PatchPro 2.0 has unknown impact and attack vectors related to "unsafe use…
Browse all CWE-59 (Improper Link Resolution Before File Access (Link Following)) vulnerabilities →