CVE-2021-44512 Misconfiguration in n/a

High 7.0 Published Updated

Local attackers can compromise session integrity or steal session IDs due to world-writable permissions on the tmate sessions directory.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2021-44512?

CVE-2021-44512 is a high-severity vulnerability in n/a, published on 7 Dec 2021. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-732

Which versions are affected by CVE-2021-44512?

It affects 1 product.

Products include Tmate Tmate-Ssh-Server.

How do I fix CVE-2021-44512?

Apply the vendor's patch.

Is CVE-2021-44512 being exploited?

There is no known exploitation of CVE-2021-44512 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2021-44512, GHSA-mpgw-pwqr-q9jp, UBUNTU-CVE-2021-44512.

Is CVE-2021-44512 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free