Security advisory
In SPIRE before versions 0.8.5, 0.9.4, 0.10.2, 0.11.3 and 0.12.1, the "aws_iid" Node Attestor improperly normalizes the path provided through the agent ID templating feature, which may allow the issuance of an arbitrary SPIFFE ID within the same trust domain, if the attacker controls the value of an EC2 tag prior to attestation, and the attestor is configured for agent ID templating where the tag value is the last element in the path. This issue has been fixed in SPIRE versions 0.11.3 and 0.12.1
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-27099
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:44 UTC · Revision 1
Source evidence
In SPIRE before versions 0.8.5, 0.9.4, 0.10.2, 0.11.3 and 0.12.1, the "aws_iid" Node Attestor improperly normalizes the path provided through the agent ID templating feature, which may allow the issuance of an arbitrary SPIFFE ID within the same trust domain, if the attacker controls the value of an EC2 tag prior to attestation, and the attestor is configured for agent ID templating where the tag value is the last element in the path. This issue has been fixed in SPIRE versions 0.11.3 and 0.12.1
osv:CVE-2021-27099
Complete source record
{
"id": "cacb38ab3fe0749aaa8fddc4fa396ecfa62c595f5cfe81d109016f419df7e0fd",
"url": "https://osv.dev/vulnerability/CVE-2021-27099",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-27099",
"summary": "In SPIRE before versions 0.8.5, 0.9.4, 0.10.2, 0.11.3 and 0.12.1, the \"aws_iid\" Node Attestor improperly normalizes the path provided through the agent ID templating feature, which may allow the issuance of an arbitrary SPIFFE ID within the same trust domain, if the attacker controls the value of an EC2 tag prior to attestation, and the attestor is configured for agent ID templating where the tag value is the last element in the path. This issue has been fixed in SPIRE versions 0.11.3 and 0.12.1",
"evidence": "osv:CVE-2021-27099",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2021-27099",
"aliases": [
"CVE-2021-27099",
"GHSA-q7gm-mjrg-44h9"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/spiffe/spire",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "cbedaa14ed36628a6f936b38d35544662c8176f2"
},
{
"introduced": "f2a8727b2404fbf95a283bd543ef4de49f648047"
},
{
"fixed": "bcc218e5d5432fffcda3593aee97df69db0f4c87"
},
{
"introduced": "429286051c1e0d729be2bec8d7ee26204494cf7a"
},
{
"fixed": "5adc2d93869fa3bcc6f0dc45a727c4e6db384eb5"
},
{
"introduced": "2e266b84a0486128efc4ca7179ce3ef943c0baad"
},
{
"fixed": "a1762b93059a7408f85cf3c1d5a23bee45fd0d4f"
},
{
"introduced": "ead65eef8c186f55a3366a814ca1e1c2ae52e73c"
},
{
"fixed": "3c5115b57afc20a0a2c2b1b9dd60dd1fd9082e13"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:cncf:spire:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.8.5"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:cncf:spire:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0.9.0"
},
{
"fixed": "0.9.4"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:cncf:spire:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0.10.0"
},
{
"fixed": "0.10.2"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:cncf:spire:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0.11.0"
},
{
"fixed": "0.11.3"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:cncf:spire:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0.12.0"
},
{
"fixed": "0.12.1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v0.12.0",
"proto/spire/v0.12.0",
"v0.11.2",
"proto/spire/v0.11.2",
"v0.9.3",
"proto/spire/v0.9.3",
"v0.10.1",
"proto/spire/v0.10.1",
"0.8.4",
"v0.11.1",
"proto/spire/v0.11.1",
"v0.11.0",
"proto/spire/v0.11.0",
"v0.10.0",
"proto/spire/v0.10.0",
"v0.9.2",
"proto/spire/v0.9.2",
"0.9.1",
"0.9.0",
"0.8.3",
"0.8.2",
"0.8.1",
"0.8.0",
"0.7.0",
"0.6.0",
"0.5.1",
"0.5",
"0.4",
"0.3",
"0.2",
"0.0.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-27099.json"
}
}
],
"modified": "2026-10-20T10:54:37.963160667Z",
"provider": "osv",
"references": [
"https://github.com/spiffe/spire/security/advisories/GHSA-q7gm-mjrg-44h9"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-27099",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 385782,
"published_at": "2021-03-05T18:15:13.067+00:00"
}