Improper Verification of Cryptographic Signature Affecting @cloudflare/workers-oauth-provider package, versions <0.0.5


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (16th 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-JS-CLOUDFLAREWORKERSOAUTHPROVIDER-10118140
  • published14 May 2025
  • disclosed1 May 2025
  • creditUnknown

Introduced: 1 May 2025

NewCVE-2025-4144  (opens in a new tab)
CWE-347  (opens in a new tab)

How to fix?

Upgrade @cloudflare/workers-oauth-provider to version 0.0.5 or higher.

Overview

@cloudflare/workers-oauth-provider is an OAuth provider for Cloudflare Workers

Affected versions of this package are vulnerable to Improper Verification of Cryptographic Signature due to the implementation of the PKCE mechanism. An attacker can bypass the PKCE protection by performing a downgrade attack. This is only exploitable if the server is configured to accept OAuth 2.0 instead of the required OAuth 2.1.

CVSS Base Scores

version 4.0
version 3.1