High
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-28407
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:26 UTC · Revision 1
Source evidence
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.
osv:CVE-2020-28407
Complete source record
{
"id": "02d0cbbcd78d5439a20beb2b5db334f36d6cc2ff9769d1dfc893d44e3dd3cc9c",
"url": "https://osv.dev/vulnerability/CVE-2020-28407",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-28407",
"summary": "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.",
"evidence": "osv:CVE-2020-28407",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2020-28407",
"aliases": [
"CVE-2020-28407"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/stefanberger/swtpm",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "2df14e343b43ea576e0f8cc106670303446682ac"
},
{
"introduced": "b931e1098533319f67e789f03c13a767a1772f7b"
},
{
"last_affected": "b931e1098533319f67e789f03c13a767a1772f7b"
},
{
"fixed": "96f5a04c3d6cc0a8604f311df246b872a93a70e4"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:swtpm_project:swtpm:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.4.2"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:swtpm_project:swtpm:0.5.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0.5.0"
},
{
"last_affected": "0.5.0"
}
],
"source": "CPE_STRING"
},
{
"range": [
{
"fixed": "2df14e343b43ea576e0f8cc106670303446682ac"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v0.4.2"
},
{
"range": [
{
"fixed": "96f5a04c3d6cc0a8604f311df246b872a93a70e4"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v0.5.1"
}
]
}
}
],
"versions": [
"0.5.0",
"v0.5.0",
"v0.4.1",
"v0.4.0",
"v0.3.0",
"v0.2.0",
"v0.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-28407.json"
}
}
],
"modified": "2026-10-20T10:54:19.989794057Z",
"provider": "osv",
"references": [
"https://github.com/stefanberger/swtpm/releases/tag/v0.4.2",
"https://github.com/stefanberger/swtpm/releases/tag/v0.5.1",
"https://bugzilla.suse.com/show_bug.cgi?id=1198395"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2020-28407",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 385067,
"published_at": "2023-11-03T04:15:15.447+00:00"
}