CVE-2025-22874 Affecting slsa-verifier package, versions <2.7.0-r6


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CHAINGUARDLATEST-SLSAVERIFIER-10361378
  • published15 Jun 2025
  • disclosed11 Jun 2025

Introduced: 11 Jun 2025

NewCVE-2025-22874  (opens in a new tab)

How to fix?

Upgrade Chainguard slsa-verifier to version 2.7.0-r6 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream slsa-verifier package and not the slsa-verifier package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

Calling Verify with a VerifyOptions.KeyUsages that contains ExtKeyUsageAny unintentionally disabledpolicy validation. This only affected certificate chains which contain policy graphs, which are rather uncommon.

CVSS Base Scores

version 3.1