Authentication Bypass by Primary Weakness Affecting github.com/openpubkey/openpubkey/providers package, versions <0.10.0


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (12th 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-GITHUBCOMOPENPUBKEYOPENPUBKEYPROVIDERS-10575115
  • published2 Jul 2025
  • disclosed13 May 2025
  • creditUnknown

Introduced: 13 May 2025

CVE-2025-4658  (opens in a new tab)
CWE-305  (opens in a new tab)

How to fix?

Upgrade github.com/openpubkey/openpubkey/providers to version 0.10.0 or higher.

Overview

Affected versions of this package are vulnerable to Authentication Bypass by Primary Weakness due to the improper handling of JWS signature verification. An attacker can gain unauthorized access by submitting a specially crafted JWS that bypasses the signature check. This is only exploitable if the attacker can intercept or influence the JWS used during authentication.

References

CVSS Base Scores

version 4.0
version 3.1