{"id":"CVE-2012-0871","aliases":["DEBIAN-CVE-2012-0871","EUVD-2012-0896","GHSA-jv9q-v37q-34vv"],"status":"published","title":"The session_link_x11_socket function in login/logind-session.c in systemd-logind in systemd,...","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/.","severity":{"version":"2.0","score":6.3,"vector":"AV:L/AC:M/Au:N/C:N/I:C/A:C","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.00352,"percentile":0.29087,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-59"],"published":"2014-04-18T14:00:00Z","modified":"2026-10-23T17:47:41Z","fixes":[{"ecosystem":"Debian:12","package":"systemd","fixed_in":["43-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"systemd","fixed_in":["43-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"systemd","fixed_in":["43-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"systemd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"43-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"systemd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"43-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"systemd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"43-1"}]}]}],"products":[{"vendor":"opensuse","product":"opensuse"},{"vendor":"systemd_project","product":"systemd"}],"references":[{"url":"http://lists.opensuse.org/opensuse-security-announce/2012-02/msg00030.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","web"]},{"url":"http://cgit.freedesktop.org/systemd/systemd/commit/?id=fc3c1c6e091ea16ad5600b145201ec535bbb5d7c","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=795853","tags":["x_refsource_CONFIRM","x_transferred","report"]},{"url":"https://bugzilla.novell.com/show_bug.cgi?id=747154","tags":["x_refsource_CONFIRM","x_transferred","report"]},{"url":"http://www.osvdb.org/79768","tags":["vdb-entry","x_refsource_OSVDB","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-0871"},{"url":"https://github.com/advisories/GHSA-jv9q-v37q-34vv"},{"url":"https://security-tracker.debian.org/tracker/CVE-2012-0871","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2012-0871","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/.","status":"published","published":"2014-04-18T14:00:00Z","modified":"2024-08-06T18:38:14.999Z","updated_at":"2026-11-02T14:34:52.981189Z"}],"euvd":[{"id":"EUVD-2012-0896","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/.","status":"published","published":"2014-04-18T14:00:00Z","modified":"2024-08-06T18:38:14Z","updated_at":"2026-11-03T01:56:19.818597Z"}],"ghsa":[{"id":"GHSA-jv9q-v37q-34vv","title":"The session_link_x11_socket function in login/logind-session.c in systemd-logind in systemd,...","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/.","status":"published","published":"2022-05-13T01:04:14Z","modified":"2023-02-01T05:02:45Z","cwes":["CWE-59"],"updated_at":"2026-11-02T14:49:57.916243Z"}],"nvd":[{"id":"CVE-2012-0871","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/.","status":"published","published":"2014-04-18T14:55:25.227Z","modified":"2026-06-16T23:38:25.523Z","cvss":[{"version":"2.0","score":6.3,"vector":"AV:L/AC:M/Au:N/C:N/I:C/A:C","level":"medium","assessor":"primary"}],"cwes":["CWE-59"],"updated_at":"2026-11-02T14:02:17.748457Z"}],"osv":[{"id":"CVE-2012-0871","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/.","status":"published","published":"2014-04-18T14:55:25Z","modified":"2026-04-10T03:42:12.798157Z","updated_at":"2026-11-02T15:43:58.537032Z"},{"id":"DEBIAN-CVE-2012-0871","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/.","status":"published","published":"2014-04-18T14:55:25.227Z","modified":"2026-10-23T17:47:41.586288196Z","updated_at":"2026-11-02T15:45:24.92418Z"}]}}
