{"id":"CVE-2021-44512","aliases":["DEBIAN-CVE-2021-44512","EUVD-2021-31345","GHSA-mpgw-pwqr-q9jp","UBUNTU-CVE-2021-44512"],"status":"published","title":"World-writable permissions on the /tmp/tmate/sessions directory in tmate-ssh-server 2.3.0 allow a...","description":"World-writable permissions on the /tmp/tmate/sessions directory in tmate-ssh-server 2.3.0 allow a local attacker to compromise the integrity of session handling, or obtain the read-write session ID from a read-only session symlink in this directory.","severity":{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.00262,"percentile":0.18094,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-281","CWE-732"],"published":"2021-12-07T02:07:50Z","modified":"2026-10-23T18:05:23Z","fixes":[{"ecosystem":"Debian:13","package":"tmate-ssh-server","fixed_in":["2.3.0-68-gd7334ee4-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"tmate-ssh-server","fixed_in":["2.3.0-68-gd7334ee4-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:13","package":"tmate-ssh-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.0-68-gd7334ee4-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"tmate-ssh-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.0-68-gd7334ee4-1"}]}]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"tmate-ssh-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.3.0-49-g97d20249-1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"tmate-ssh-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.3.0-68-gd7334ee4-1","2.3.0-68-gd7334ee4-1build1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"tmate-ssh-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.3.0-68-gd7334ee4-2"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"tmate-ssh-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.3.0-68-gd7334ee4-2build1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"tmate-ssh-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.3.0-68-gd7334ee4-2","2.3.0-68-gd7334ee4-2build1"]}],"products":[{"vendor":"tmate","product":"tmate-ssh-server"}],"references":[{"url":"https://github.com/tmate-io/tmate-ssh-server/commit/1c020d1f5ca462f5b150b46a027aaa1bbe3c9596","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","report"]},{"url":"https://www.openwall.com/lists/oss-security/2021/12/06/2","tags":["x_refsource_MISC","x_transferred","Mailing List","Third Party Advisory","advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-44512"},{"url":"https://github.com/advisories/GHSA-mpgw-pwqr-q9jp"},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-44512","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2021-44512","tags":["report"]},{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1189388","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-44512","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2021-44512","description":"World-writable permissions on the /tmp/tmate/sessions directory in tmate-ssh-server 2.3.0 allow a local attacker to compromise the integrity of session handling, or obtain the read-write session ID from a read-only session symlink in this directory.","status":"published","published":"2021-12-07T02:07:50Z","modified":"2024-08-04T04:25:16.773Z","updated_at":"2026-11-02T14:33:01.166399Z"}],"euvd":[{"id":"EUVD-2021-31345","description":"World-writable permissions on the /tmp/tmate/sessions directory in tmate-ssh-server 2.3.0 allow a local attacker to compromise the integrity of session handling, or obtain the read-write session ID from a read-only session symlink in this directory.","status":"published","published":"2021-12-07T02:07:50Z","modified":"2024-08-04T04:25:16Z","updated_at":"2026-11-03T03:08:29.150764Z"}],"ghsa":[{"id":"GHSA-mpgw-pwqr-q9jp","title":"World-writable permissions on the /tmp/tmate/sessions directory in tmate-ssh-server 2.3.0 allow a...","description":"World-writable permissions on the /tmp/tmate/sessions directory in tmate-ssh-server 2.3.0 allow a local attacker to compromise the integrity of session handling, or obtain the read-write session ID from a read-only session symlink in this directory.","status":"published","published":"2021-12-08T00:01:43Z","modified":"2023-02-01T05:07:01Z","cvss":[{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-281","CWE-732"],"updated_at":"2026-11-02T14:50:27.906349Z"}],"nvd":[{"id":"CVE-2021-44512","description":"World-writable permissions on the /tmp/tmate/sessions directory in tmate-ssh-server 2.3.0 allow a local attacker to compromise the integrity of session handling, or obtain the read-write session ID from a read-only session symlink in this directory.","status":"published","published":"2021-12-07T03:15:07.16Z","modified":"2026-06-17T04:12:29.57Z","cvss":[{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":4.4,"vector":"AV:L/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-732"],"updated_at":"2026-11-02T14:07:01.811115Z"}],"osv":[{"id":"CVE-2021-44512","description":"World-writable permissions on the /tmp/tmate/sessions directory in tmate-ssh-server 2.3.0 allow a local attacker to compromise the integrity of session handling, or obtain the read-write session ID from a read-only session symlink in this directory.","status":"published","published":"2021-12-07T03:15:07.16Z","modified":"2026-10-20T14:06:55.355359229Z","cvss":[{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:21.877444Z"},{"id":"DEBIAN-CVE-2021-44512","description":"World-writable permissions on the /tmp/tmate/sessions directory in tmate-ssh-server 2.3.0 allow a local attacker to compromise the integrity of session handling, or obtain the read-write session ID from a read-only session symlink in this directory.","status":"published","published":"2021-12-07T03:15:07.16Z","modified":"2026-10-23T18:05:23.658792415Z","cvss":[{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:35.799676Z"},{"id":"UBUNTU-CVE-2021-44512","description":"World-writable permissions on the /tmp/tmate/sessions directory in tmate-ssh-server 2.3.0 allow a local attacker to compromise the integrity of session handling, or obtain the read-write session ID from a read-only session symlink in this directory.","status":"published","published":"2021-12-07T03:15:00Z","modified":"2026-10-17T12:55:49.830853937Z","cvss":[{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:29.220315Z"}]}}
