{"id":"CVE-2020-28407","aliases":["EUVD-2020-20866","GHSA-52x8-2f4w-q8mm","OESA-2022-1741","UBUNTU-CVE-2020-28407","openSUSE-SU-2024:11416-1"],"status":"published","title":"In swtpm before 0.4.2 and 0.5.x before 0.5.1, a local attacker may be able to overwrite arbitrary...","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.","severity":{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.00279,"percentile":0.20556,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-59"],"published":"2022-07-08T11:05:00Z","modified":"2026-10-20T10:54:19Z","fixes":[{"ecosystem":"openEuler:20.03-LTS-SP1","package":"swtpm","fixed_in":["0.3.3-5.oe1"],"sources":["osv"]},{"ecosystem":"openEuler:20.03-LTS-SP3","package":"swtpm","fixed_in":["0.3.3-5.oe1"],"sources":["osv"]},{"ecosystem":"openEuler:22.03-LTS","package":"swtpm","fixed_in":["0.3.3-6.oe2203"],"sources":["osv"]},{"ecosystem":"openSUSE:Tumbleweed","package":"swtpm","fixed_in":["0.6.1-1.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"openEuler:20.03-LTS-SP1","package":"swtpm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.3-5.oe1"}]}]},{"source":"osv","ecosystem":"openEuler:20.03-LTS-SP3","package":"swtpm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.3-5.oe1"}]}]},{"source":"osv","ecosystem":"openEuler:22.03-LTS","package":"swtpm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.3-6.oe2203"}]}]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"swtpm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.1-1.1"}]}]}],"products":[{"vendor":"swtpm_project","product":"swtpm"}],"references":[{"url":"https://github.com/stefanberger/swtpm/releases/tag/v0.4.2","tags":["x_transferred","Release Notes","advisory"]},{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1198395","tags":["x_transferred","Issue Tracking","Patch","Third Party Advisory","fix"]},{"url":"https://github.com/stefanberger/swtpm/releases/tag/v0.5.1","tags":["x_transferred","Release Notes","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-28407","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-52x8-2f4w-q8mm"},{"url":"https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1741","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2020-28407","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-28407","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2020-28407","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2020-28407","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.","status":"published","published":"2023-11-03T00:00:00Z","modified":"2024-09-12T19:34:06.223Z","updated_at":"2026-11-02T14:35:57.017407Z"}],"euvd":[{"id":"EUVD-2020-20866","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.","status":"published","published":"2023-11-03T00:00:00Z","modified":"2024-09-12T19:34:06Z","updated_at":"2026-11-03T00:55:56.835723Z"}],"ghsa":[{"id":"GHSA-52x8-2f4w-q8mm","title":"In swtpm before 0.4.2 and 0.5.x before 0.5.1, a local attacker may be able to overwrite arbitrary...","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.","status":"published","published":"2023-11-03T06:36:29Z","modified":"2023-11-10T00:30:27Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","level":"high"}],"cwes":["CWE-59"],"updated_at":"2026-11-02T14:54:56.630179Z"}],"nvd":[{"id":"CVE-2020-28407","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.","status":"published","published":"2023-11-03T04:15:15.447Z","modified":"2026-06-17T03:10:24.76Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-59"],"updated_at":"2026-11-02T14:06:47.910346Z"}],"osv":[{"id":"CVE-2020-28407","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.","status":"published","published":"2023-11-03T04:15:15.447Z","modified":"2026-10-20T10:54:19.989794057Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:16.248747Z"},{"id":"OESA-2022-1741","title":"swtpm security update","description":"TPM emulator built on libtpms providing TPM functionality for QEMU VMs\r\n\r\nSecurity Fix(es):\r\n\r\n** 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)","status":"published","published":"2022-07-08T11:05:00Z","modified":"2026-08-18T01:16:44.904205271Z","cvss":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:52:39.528805Z"},{"id":"UBUNTU-CVE-2020-28407","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.","status":"withdrawn","published":"2023-11-03T04:15:00Z","modified":"2025-07-16T08:15:12.457985Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:24.541803Z"},{"id":"openSUSE-SU-2024:11416-1","title":"swtpm-0.6.1-1.1 on GA media","description":"These are all security issues fixed in the swtpm-0.6.1-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T03:45:55.73011Z","updated_at":"2026-11-02T16:58:35.195147Z"}]}}
