CVE-2021-27098
HIGH 8.1CVSS 3.1Legacy Node API Allows Impersonation in github.com/spiffe/spire/pkg/server/endpoints/node
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.
- Published
- 5 Mar 2021
- Last modified
- 8 Jul 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-284CWE-295
- Also known as
- GHSA-h746-rm5q-8mgq
- Sources
- NVDJSONOSV GHSA-h746-rm5q-8mgqJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.5 | AV:N/AC:L/Au:S/C:P/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | cncf | spirecpe:2.3:a:cncf:spire:*:*:*:*:*:*:*:* |
>= 0.8.1, <= 0.8.4 | |
| NVD | cncf | spirecpe:2.3:a:cncf:spire:*:*:*:*:*:*:*:* |
>= 0.9.0, < 0.9.4 | 0.9.4 |
| NVD | cncf | spirecpe:2.3:a:cncf:spire:*:*:*:*:*:*:*:* |
>= 0.10.0, < 0.10.2 | 0.10.2 |
| NVD | cncf | spirecpe:2.3:a:cncf:spire:*:*:*:*:*:*:*:* |
>= 0.11.0, < 0.11.3 | 0.11.3 |
| NVD | cncf | spirecpe:2.3:a:cncf:spire:*:*:*:*:*:*:*:* |
>= 0.12.0, < 0.12.1 | 0.12.1 |
| OSV | Go | github.com/spiffe/spire | >= 0.8.1, < 0.8.5 | 0.8.5 |
| OSV | Go | github.com/spiffe/spire | >= 0.9.0, < 0.9.4 | 0.9.4 |
| OSV | Go | github.com/spiffe/spire | >= 0.10.0, < 0.10.2 | 0.10.2 |
| OSV | Go | github.com/spiffe/spire | >= 0.11.0, < 0.11.3 | 0.11.3 |
| OSV | Go | github.com/spiffe/spire | >= 0.12.0, < 0.12.1 | 0.12.1 |
References
- https://github.com/spiffe/spire/security/advisories/GHSA-h746-rm5q-8mgq · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-27098 · ADVISORY
- https://github.com/spiffe/spire/commit/3c5115b57afc20a0a2c2b1b9dd60dd1fd9082e13 · WEB
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-27098 · WEB
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 5 Mar 2021)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 21 May 2021)