CVE-2020-28407
In swtpm before 0.4.2 and 0.5.x before 0.5.1, a local attacker may be able to overwrite arbitrary...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.1
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.
- Record
CVE-2020-28407- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H - Weakness
- CWE-59
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2020-28407- Updated
- 2026-11-02
EUVDEUVD-2020-20866 No score
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.
- Record
EUVD-2020-20866- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-52x8-2f4w-q8mm
7.1
In swtpm before 0.4.2 and 0.5.x before 0.5.1, a local attacker may be able to overwrite arbitrary...
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.
- Record
GHSA-52x8-2f4w-q8mm- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H - Weakness
- CWE-59
- Updated
- 2026-11-02
OSV
7.1
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.
- Record
CVE-2020-28407- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H - Updated
- 2026-11-02
OSVOESA-2022-1741
8.2
swtpm security update
TPM emulator built on libtpms providing TPM functionality for QEMU VMs
Security Fix(es):
** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.(CVE-2020-28407)
- Record
OESA-2022-1741- CVSS 3.1
- 8.2 High
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2020-28407
7.1
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.
- Record
UBUNTU-CVE-2020-28407- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H - Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11416-1 No score
swtpm-0.6.1-1.1 on GA media
These are all security issues fixed in the swtpm-0.6.1-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11416-1- Updated
- 2026-11-02
Affected products
Affected packages
History
| Recorded | Changed | Sources |
|---|---|---|
| affected | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2020-28407 is a high vulnerability (CVSS 7.1) in Swtpm Project Swtpm, published July 8, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.28%, the 20th percentile. Fixed in swtpm 0.3.3-5.oe1.
References
github.com/stefanberger/swtpm/releases/tag/v0.4.2
bugzilla.suse.com/show_bug.cgi?id=1198395
github.com/stefanberger/swtpm/releases/tag/v0.5.1
nvd.nist.gov/vuln/detail/CVE-2020-28407
github.com/advisories/GHSA-52x8-2f4w-q8mm
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1741
ubuntu.com/security/CVE-2020-28407
cve.org/CVERecord?id=CVE-2020-28407
suse.com/security/cve/CVE-2020-28407