{"id":"UBUNTU-CVE-2021-44512","details":"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.","modified":"2026-05-20T16:06:30.457118668Z","published":"2021-12-07T03:15:00Z","upstream":["CVE-2021-44512"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-44512"},{"type":"REPORT","url":"https://www.openwall.com/lists/oss-security/2021/12/06/2"},{"type":"REPORT","url":"https://bugzilla.suse.com/show_bug.cgi?id=1189388"},{"type":"REPORT","url":"https://github.com/tmate-io/tmate-ssh-server/commit/1c020d1f5ca462f5b150b46a027aaa1bbe3c9596"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-44512"}],"affected":[{"package":{"name":"tmate-ssh-server","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/tmate-ssh-server?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.3.0-49-g97d20249-1"],"ecosystem_specific":{"binaries":[{"binary_name":"tmate-ssh-server","binary_version":"2.3.0-49-g97d20249-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-44512.json"}},{"package":{"name":"tmate-ssh-server","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/tmate-ssh-server?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.3.0-68-gd7334ee4-1","2.3.0-68-gd7334ee4-1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"tmate-ssh-server","binary_version":"2.3.0-68-gd7334ee4-1build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-44512.json"}},{"package":{"name":"tmate-ssh-server","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/tmate-ssh-server?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.3.0-68-gd7334ee4-2"],"ecosystem_specific":{"binaries":[{"binary_name":"tmate-ssh-server","binary_version":"2.3.0-68-gd7334ee4-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-44512.json"}},{"package":{"name":"tmate-ssh-server","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/tmate-ssh-server?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.3.0-68-gd7334ee4-2","2.3.0-68-gd7334ee4-2build1"],"ecosystem_specific":{"binaries":[{"binary_name":"tmate-ssh-server","binary_version":"2.3.0-68-gd7334ee4-2build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-44512.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}