CVE-2021-27099
NixOS vulnerability analysis and mitigation

Overview

CVE-2021-27099 affects SPIRE (SPIFFE Runtime Environment) versions before 0.8.5, 0.9.4, 0.10.2, 0.11.3, and 0.12.1. The vulnerability was discovered on February 10, 2021, and publicly disclosed on March 4, 2021. The issue resides in the 'aws_iid' Node Attestor component which improperly normalizes paths provided through the agent ID templating feature (GHSA Advisory).

Technical details

The vulnerability stems from improper path normalization in the 'aws_iid' Node Attestor when handling agent ID templating. The issue has a CVSS 3.1 Base Score of 6.8 (Medium) with vector CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N. The vulnerability is classified under CWE-863 (Incorrect Authorization) (NVD).

Impact

If exploited, this vulnerability could allow an attacker who controls the value of an EC2 tag prior to attestation to obtain an arbitrary SPIFFE ID within the same trust domain, when the attestor is configured for agent ID templating where the tag value is the last element in the path (GHSA Advisory).

Exploitability

The vulnerability requires the attacker to have control over EC2 tag values and the aws_iid attestor must be configured to use agent ID templating with the tag value as the last path element. The attack complexity is rated as high, requiring low privileges and no user interaction (NVD).

Mitigation and workarounds

The vulnerability has been fixed in SPIRE versions 0.11.3 and 0.12.1. For those unable to upgrade immediately, workarounds include discontinuing the use of aws_iid agent ID templating or ensuring EC2 tag values are not utilized in aws_iid agent ID templating. Additionally, organizations with layered security controls should ensure all IDs are normalized prior to making policy decisions (GHSA Advisory).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-75874CRITICAL10
  • NixOS logoNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesAug 18, 2026
CVE-2026-74990CRITICAL9.8
  • NixOS logoNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesAug 18, 2026
CVE-2026-74989CRITICAL9.8
  • NixOS logoNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesAug 18, 2026
CVE-2026-74988CRITICAL9.8
  • NixOS logoNixOS
  • thunderbird
NoYesAug 18, 2026
CVE-2026-74987CRITICAL9.8
  • NixOS logoNixOS
  • MozillaFirefox-branding-upstream
NoYesAug 18, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management