CVE-2021-27099 Missing authorization in n/a

Medium 6.8 Published Updated

Attackers can obtain arbitrary SPIFFE IDs by manipulating EC2 tags if agent ID templating is enabled, bypassing identity controls.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-27099?

CVE-2021-27099 is a medium-severity missing authorization vulnerability in n/a, published on 5 Mar 2021. Any signed-in user can exploit it over the network, with no action from the victim.

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

Weakness: CWE-863

Which versions are affected by CVE-2021-27099?

It affects 1 product.

Products include Cncf Spire.

How do I fix CVE-2021-27099?

No fix has been published for CVE-2021-27099 yet. Limit exposure of the affected software until one is available.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2021-27099 being exploited?

There is no known exploitation of CVE-2021-27099 in the wild and no public exploit code.

Sources

Also known as GHSA-q7gm-mjrg-44h9.

Is CVE-2021-27099 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free