Skip to content
OpenAdvisories
Unscored CVE-2021-44512 EUVD-2021-31345GHSA-mpgw-pwqr-q9jp

World-writable permissions on the /tmp/tmate/sessions directory in tmate-ssh-server 2.3.0 allow a local attacker to compromise the integrit…

Published Dec 7, 2021 · Updated Aug 4, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 tmate-ssh-server 2.3.0-68-gd7334ee4-1 —
Debian 13 tmate-ssh-server 2.3.0-68-gd7334ee4-1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 tmate-ssh-server No fix yet —
Ubuntu 26.04 LTS tmate-ssh-server No fix yet —
Ubuntu 25.10 tmate-ssh-server No fix yet —
Ubuntu 24.04 LTS tmate-ssh-server No fix yet —
Ubuntu 22.04 LTS tmate-ssh-server No fix yet —

References