CVE-2021-27099 in Cncf Spire
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...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, high complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Cncf | Spire | < 0.8.5 ≥ 0.9.0, < 0.9.4 ≥ 0.10.0, < 0.10.2 ≥ 0.11.0, < 0.11.3 ≥ 0.12.0, < 0.12.1 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-27099 |
|---|---|
| BreachSpider ID | BS-2021-GLOBAL-267956-M |
| CVSS vector | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N |
| Published | 2021-03-05 |
| Last modified | 2024-11-21 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-863: Incorrect Authorization
Software performs an authorization check incorrectly, allowing access beyond intended privileges.
Analysis AI-written, not human-reviewed
{ "executive_summary": "CVE-2021-27099 affects SPIRE versions prior to 0.8.5, 0.9.4, 0.10.2, 0.11.3, and 0.12.1, where the 'aws_iid' Node Attestor improperly normalizes paths, potentially allowing issuance of arbitrary SPIFFE IDs if an attacker controls an EC2 tag.", "attack_vector_detail": "An attacker can control the value of an EC2 tag before attestation, which, if the 'aws_iid' Node Attestor is configured for agent ID templating, can lead to the issuance of arbitrary SPIFFE IDs within the same trust domain.", "affected_components": ["SPIRE versions before 0.8.5", "SPIRE versions before 0.9.4", "SPIRE versions before 0.10.2", "SPIRE versions before 0.11.3", "SPIRE versions before 0.12.1"], "exploitation_likelihood": "MEDIUM", "remediation_priority": "HIGH", "confidence": "
Vulnerability details: 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 CVSS vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N.
Questions
What is CVE-2021-27099?
{ "executive_summary": "CVE-2021-27099 affects SPIRE versions prior to 0.8.5, 0.9.4, 0.10.2, 0.11.3, and 0.12.1, where the 'aws_iid' Node Attestor improperly normalizes paths, potentially allowing issuance of arbitrary SPIFFE IDs if an attacker controls an EC2 tag.", "attack_vector_detail": "An attacker can control the value of an EC2 tag before attestation, which, if the 'aws_iid' Node Attestor is configured for agent ID templating, can lead to the issuance of arbitrary SPIFFE IDs within th
What is the CVSS score for CVE-2021-27099?
CVE-2021-27099 has CVSS 6.8 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N. EPSS: 0.7%.
Is CVE-2021-27099 actively exploited?
No confirmed active exploitation of CVE-2021-27099 as of 2026-05-30.
How do I remediate CVE-2021-27099?
Priority: MONITOR.
What systems are affected by CVE-2021-27099?
CVE-2021-27099 affects Cncf Spire.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Cncf","product":"Spire","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-11-21.