Improper Certificate Validation Affecting github.com/sigstore/cosign/cmd/cosign/cli/verify package, versions <1.5.2


Severity

Recommended
0.0
low
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (15th percentile)

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-GOLANG-GITHUBCOMSIGSTORECOSIGNCMDCOSIGNCLIVERIFY-2407587
  • published20 Feb 2022
  • disclosed20 Feb 2022
  • creditZack Newman, dlorenc, Matt Moore, priyawadhwa, Nathan Smith

Introduced: 20 Feb 2022

CVE-2022-23649  (opens in a new tab)
CWE-295  (opens in a new tab)

How to fix?

Upgrade github.com/sigstore/cosign/cmd/cosign/cli/verify to version 1.5.2 or higher.

Overview

github.com/sigstore/cosign/cmd/cosign/cli/verify is a package that aims to make signatures invisible infrastructure.

Affected versions of this package are vulnerable to Improper Certificate Validation by making it claim that an entry for a signature exists in the Rekor transparency log even if it doesn't. This requires the attacker to have pull and push permissions for the signature in OCI. This can happen with both standard signing with a keypair and "keyless signing" with Fulcio.

CVSS Scores

version 3.1