Live threats

All CVEs / Cncf

CVE-2021-27098Cncf Spire

High 8.1

Priority
49
CVSS 3.1
8.1
EPSS
0.6%
probability of exploitation in 30 days · percentile 48
Auth required
Yes
Published
Mar 5, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-295
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

What happens

In SPIRE 0.8.1 through 0.8.4 and before versions 0.9.4, 0.10.2, 0.11.3 and 0.12.1, specially crafted requests to the FetchX509SVID RPC of SPIRE Server’s Legacy Node API can result in the possible issuance of an X.509 certificate with a URI SAN for a SPIFFE ID that the agent is not authorized to distribute. Proper controls are in place to require that the caller presents a valid agent certificate that is already authorized to issue at least one SPIFFE ID, and the requested SPIFFE ID belongs to the same trust domain, prior to being able to trigger this vulnerability. This issue has been fixed in SPIRE versions 0.8.5, 0.9.4, 0.10.2, 0.11.3 and 0.12.1.

Original NVD text.

What to do

  1. Apply the vendor's security update for Spire.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/spiffe/spire ≥ 0.8.1 < 0.8.5 0.8.5 go get github.com/spiffe/spire@v0.8.5
Go github.com/spiffe/spire ≥ 0.9.0 < 0.9.4 0.9.4 go get github.com/spiffe/spire@v0.9.4
Go github.com/spiffe/spire ≥ 0.10.0 < 0.10.2 0.10.2 go get github.com/spiffe/spire@v0.10.2
Go github.com/spiffe/spire ≥ 0.11.0 < 0.11.3 0.11.3 go get github.com/spiffe/spire@v0.11.3
Go github.com/spiffe/spire ≥ 0.12.0 < 0.12.1 0.12.1 go get github.com/spiffe/spire@v0.12.1

Per OSV / GitHub Advisories (GHSA-h746-rm5q-8mgq). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
cncfspire≥ 0.8.1 ≤ 0.8.4
cncfspire≥ 0.9.0 < 0.9.4
cncfspire≥ 0.10.0 < 0.10.2
cncfspire≥ 0.11.0 < 0.11.3
cncfspire≥ 0.12.0 < 0.12.1

Official sources

References

Links published by the sources. Open them with care.