Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/spiffe/spire
  4. ›
  5. CVE-2021-27098

CVE-2021-27098: Improper Certificate Validation

May 21, 2021 (updated October 2, 2023)

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.

References

  • cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-27098
  • github.com/advisories/GHSA-h746-rm5q-8mgq
  • github.com/spiffe/spire/commit/3c5115b57afc20a0a2c2b1b9dd60dd1fd9082e13
  • github.com/spiffe/spire/security/advisories/GHSA-h746-rm5q-8mgq
  • nvd.nist.gov/vuln/detail/CVE-2021-27098

Code Behaviors & Features

Detect and mitigate CVE-2021-27098 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.8.1 before 0.8.5, all versions starting from 0.9.0 before 0.9.4, all versions starting from 0.10.0 before 0.10.2, all versions starting from 0.11.0 before 0.11.3, all versions starting from 0.12.0 before 0.12.1

Fixed versions

  • 0.8.5
  • 0.9.4
  • 0.10.2
  • 0.11.3
  • 0.12.1

Solution

Upgrade to versions 0.8.5, 0.9.4, 0.10.2, 0.11.3, 0.12.1 or above.

Impact 8.1 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-295: Improper Certificate Validation

Source file

go/github.com/spiffe/spire/CVE-2021-27098.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:08 +0000.