Skip to content

CVE-2021-27098 Legacy Node API Allows Impersonation in github.com/spiffe/spire/pkg/server/endpoints/node

HighCVSS 8.1 EPSS 0.56%
Published
Updated
Exploit status
No public exploit known

Description

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
cncf spire >= 0.8.1, <= 0.8.4; >= 0.9.0, < 0.9.4; >= 0.10.0, < 0.10.2; >= 0.11.0, < 0.11.3 +1 more 0.9.4, 0.10.2, 0.11.3, 0.12.1 Fixed
spiffe github.com/spiffe/spire(Go) >= 0.8.1, < 0.8.5; >= 0.9.0, < 0.9.4; >= 0.10.0, < 0.10.2; >= 0.11.0, < 0.11.3 +1 more 0.8.5, 0.9.4, 0.10.2, 0.11.3, 0.12.1 Fixed

Affected products

ProductAffected versionsFixed in
spiffe github.com/spiffe/spire(Go) >= 0.8.1, < 0.8.5 0.8.5
spiffe github.com/spiffe/spire(Go) >= 0.9.0, < 0.9.4 0.9.4
spiffe github.com/spiffe/spire(Go) >= 0.10.0, < 0.10.2 0.10.2
spiffe github.com/spiffe/spire(Go) >= 0.11.0, < 0.11.3 0.11.3
spiffe github.com/spiffe/spire(Go) >= 0.12.0, < 0.12.1 0.12.1
cncf spire >= 0.8.1, <= 0.8.4 No fix listed
cncf spire >= 0.9.0, < 0.9.4 0.9.4
cncf spire >= 0.10.0, < 0.10.2 0.10.2
cncf spire >= 0.11.0, < 0.11.3 0.11.3
cncf spire >= 0.12.0, < 0.12.1 0.12.1

References