Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-27098
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:44 UTC · Revision 1
Source evidence
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.
osv:CVE-2021-27098
Complete source record
{
"id": "d24ca9d9b1be7b7e8ab3473004ce8c5c5f474c8f524daf4d5865e56839959d92",
"url": "https://osv.dev/vulnerability/CVE-2021-27098",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-27098",
"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 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.",
"evidence": "osv:CVE-2021-27098",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2021-27098",
"aliases": [
"CVE-2021-27098",
"GHSA-h746-rm5q-8mgq"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/spiffe/spire",
"type": "GIT",
"events": [
{
"introduced": "65b70eb3ccb7c2deac63d4432fa25892e5a6cc20"
},
{
"last_affected": "1d34b5ba9587f3ff5181e031fa6e17ee303e0514"
},
{
"introduced": "f2a8727b2404fbf95a283bd543ef4de49f648047"
},
{
"fixed": "bcc218e5d5432fffcda3593aee97df69db0f4c87"
},
{
"introduced": "429286051c1e0d729be2bec8d7ee26204494cf7a"
},
{
"fixed": "5adc2d93869fa3bcc6f0dc45a727c4e6db384eb5"
},
{
"introduced": "2e266b84a0486128efc4ca7179ce3ef943c0baad"
},
{
"fixed": "a1762b93059a7408f85cf3c1d5a23bee45fd0d4f"
},
{
"introduced": "ead65eef8c186f55a3366a814ca1e1c2ae52e73c"
},
{
"fixed": "3c5115b57afc20a0a2c2b1b9dd60dd1fd9082e13"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:cncf:spire:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0.8.1"
},
{
"last_affected": "0.8.4"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:cncf:spire:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0.9.0"
},
{
"fixed": "0.9.4"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:cncf:spire:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0.10.0"
},
{
"fixed": "0.10.2"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:cncf:spire:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0.11.0"
},
{
"fixed": "0.11.3"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:cncf:spire:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0.12.0"
},
{
"fixed": "0.12.1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v0.12.0",
"proto/spire/v0.12.0",
"v0.11.2",
"proto/spire/v0.11.2",
"v0.9.3",
"proto/spire/v0.9.3",
"v0.10.1",
"proto/spire/v0.10.1",
"0.8.4",
"v0.11.1",
"proto/spire/v0.11.1",
"v0.11.0",
"proto/spire/v0.11.0",
"v0.10.0",
"proto/spire/v0.10.0",
"v0.9.2",
"proto/spire/v0.9.2",
"0.9.1",
"0.9.0",
"0.8.3",
"0.8.2",
"0.8.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-27098.json"
}
}
],
"modified": "2026-10-20T10:54:37.979988694Z",
"provider": "osv",
"references": [
"https://github.com/spiffe/spire/security/advisories/GHSA-h746-rm5q-8mgq"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-27098",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 385781,
"published_at": "2021-03-05T17:15:14.92+00:00"
}