CVE Vulnerabilities

CVE-2021-27098

Improper Certificate Validation

Published: Mar 05, 2021 | Modified: Mar 16, 2021
CVSS 3.x
8.1
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
CVSS 2.x
5.5 MEDIUM
AV:N/AC:L/Au:S/C:P/I:P/A:N
RedHat/V2
RedHat/V3
Ubuntu

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.

Weakness

The product does not validate, or incorrectly validates, a certificate.

Affected Software

Name Vendor Start Version End Version
Spire Cncf 0.8.1 (including) 0.8.4 (including)
Spire Cncf 0.9.0 (including) 0.9.4 (excluding)
Spire Cncf 0.10.0 (including) 0.10.2 (excluding)
Spire Cncf 0.11.0 (including) 0.11.3 (excluding)
Spire Cncf 0.12.0 (including) 0.12.1 (excluding)

Potential Mitigations

References