CVE-2021-27098: High severity cncf spire vulnerability

Published Mar 5, 2021
·
Updated

Summary 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 (github.com/spiffe/spire/pkg/server/endpoints/node) 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.

What are the changes introduced by the patched versions? The changes introduced to address this issue are related to enforcing that the FetchX509SVID RPC of SPIRE Server’s Legacy Node API only issues X.509 certificates with SPIFFE IDs that the agent is authorized to distribute.

The patched version also includes a back-ported change that improves the handling of file descriptors related to workload attestation in SPIRE Agent.

There are no changes in the expected behavior of SPIRE.

Should I upgrade SPIRE? All SPIRE users running affected versions are advised to upgrade to the corresponding patched version.

Workarounds No workarounds have been identified for this vulnerability.

Other sources

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.

Affected Software

10 affected componentsFixes available
go/github.com/spiffe/spire>=0.12.0<0.12.1
0.12.1
go/github.com/spiffe/spire>=0.11.0<0.11.3
0.11.3
go/github.com/spiffe/spire>=0.10.0<0.10.2
0.10.2
go/github.com/spiffe/spire>=0.9.0<0.9.4
0.9.4
go/github.com/spiffe/spire>=0.8.1<0.8.5
0.8.5
CNCF Spire>=0.8.1<=0.8.4
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

Event History

Mar 5, 2021
CVE Published
via MITRE·04:59 PM
Data Sourced
via MITRE·04:59 PM
Description
May 21, 2021
Advisory Published
02:31 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2021-27098?

CVE-2021-27098 is a vulnerability in SPIRE versions 0.8.1 through 0.8.4 and before versions 0.9.4, 0.10.2, 0.11.3, and 0.12.1 that can result in the possible issuance of an X.509 certificate with a maliciously crafted Common Name or Subject Alternative Name.

2

What is the severity of CVE-2021-27098?

CVE-2021-27098 has a severity score of 8.1 (high).

3

How does CVE-2021-27098 affect SPIRE?

CVE-2021-27098 affects SPIRE versions 0.8.1 through 0.8.4 and versions 0.9.4, 0.10.2, 0.11.3, and 0.12.1. It allows specially crafted requests to the FetchX509SVID RPC of SPIRE Server's Legacy Node API to potentially issue an X.509 certificate with a maliciously crafted Common Name or Subject Alternative Name.

4

How can I fix CVE-2021-27098?

To fix CVE-2021-27098, update SPIRE to versions 0.8.5, 0.9.4, 0.10.2, 0.11.3, or 0.12.1.

5

Where can I find more information about CVE-2021-27098?

You can find more information about CVE-2021-27098 on the SPIRE GitHub Security Advisory (https://github.com/spiffe/spire/security/advisories/GHSA-h746-rm5q-8mgq) and the NVD (https://nvd.nist.gov/vuln/detail/CVE-2021-27098).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203