cve.bz

CVE-2021-27098 cncf spire: Improper Certificate Validation

8.1 highEPSS 0.6%Fix available

High (8.1) in cncf spire. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/spiffe/spire 0.10.2, 0.11.3, 0.12.1.

On this page
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.

Severity

CVSS 3.1

8.1 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 47th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-295 Improper Certificate Validation
OWASP Top 10
A07:2025 Authentication Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

  • github.com/spiffe/spire (Go): fixed in 0.8.5, 0.9.4, 0.10.2, 0.11.3, 0.12.1

Ask an AI about this CVE

Show the promptExplain CVE-2021-27098 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-27098?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-27098?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-27098 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
cncf:spirefrom 0.8.1 through 0.8.4
cncf:spirefrom 0.9.0 before 0.9.4
cncf:spirefrom 0.10.0 before 0.10.2
cncf:spirefrom 0.11.0 before 0.11.3
cncf:spirefrom 0.12.0 before 0.12.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-h746-rm5q-8mgqGogithub.com/spiffe/spire>=0.8.1 <0.8.50.8.5
GHSA-h746-rm5q-8mgqGogithub.com/spiffe/spire>=0.9.0 <0.9.40.9.4
GHSA-h746-rm5q-8mgqGogithub.com/spiffe/spire>=0.10.0 <0.10.20.10.2
GHSA-h746-rm5q-8mgqGogithub.com/spiffe/spire>=0.11.0 <0.11.30.11.3
GHSA-h746-rm5q-8mgqGogithub.com/spiffe/spire>=0.12.0 <0.12.10.12.1

Attack patterns (CAPEC)

  • CAPEC-459 Creating a Rogue Certification Authority Certificate Likelihood: Medium · Severity: Very High
  • CAPEC-475 Signature Spoofing by Improper Validation Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON