CVEvulnerability
CVE-2021-27099
6.8 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2021-03-05
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 6.8 MEDIUM — CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
- CVSS 2.0 ([email protected])
- 4.9 MEDIUM — AV:N/AC:M/Au:S/C:P/I:P/A:N
- Weaknesses
- CWE-863
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
Affected configurations
• cncf spire (< 0.8.5)
• cncf spire (>= 0.9.0 < 0.9.4)
• cncf spire (>= 0.10.0 < 0.10.2)
• cncf spire (>= 0.11.0 < 0.11.3)
• cncf spire (>= 0.12.0 < 0.12.1)
Related
Weakness · CWE (1)
- CWE-863 Incorrect Authorization weakness
References
- https://github.com/spiffe/spire/security/advisories/GHSA-q7gm-mjrg-44h9 Patch, Third Party Advisory
- https://github.com/spiffe/spire/security/advisories/GHSA-q7gm-mjrg-44h9 Patch, Third Party Advisory