CVE-2020-28407 Path traversal in n/a

High 7.1 Published Updated

A local attacker can overwrite arbitrary files via a symlink attack on temporary files in the swtpm TPM emulator.

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-2020-28407?

CVE-2020-28407 is a high-severity path traversal vulnerability in n/a, published on 3 Nov 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In swtpm before 0.4.2 and 0.5.x before 0.5.1, a local attacker may be able to overwrite arbitrary files via a symlink attack against a temporary file such as TMP2-00.permall.

Weakness: CWE-59

Which versions are affected by CVE-2020-28407?

It affects 1 product.

Linux distribution packages (1)
swtpm openSUSE:TumbleweedAll versions0.6.1-1.1

Products include Swtpm Project Swtpm.

How do I fix CVE-2020-28407?

Upgrade to a fixed version.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2020-28407 being exploited?

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

Sources

Also known as GHSA-52x8-2f4w-q8mm, OESA-2022-1741, openSUSE-SU-2024:11416-1.

Is CVE-2020-28407 in your software?

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

Check your SBOMs for free