VDB
Sign up
MEDIUM5.4

GHSA-xq8m-7c5p-c2r6

Auth0 Next.js SDK has Improper Proxy Cache Lookup

Quick fix

GHSA-xq8m-7c5p-c2r6 — @auth0/nextjs-auth0: upgrade to the fixed version with the command below.

npm install @auth0/nextjs-auth0@4.18.0

Details

### Description In affected versions of the Next.js SDK, simultaneous requests that trigger a nonce retry may cause the proxy cache fetcher to perform improper lookups for the token request results.

### Which Projects are Affected? Users are affected if they meet all of the following preconditions: - Applications using the auth0/nextjs-auth0 SDK, versions 4.12.0 to 4.17.0, and - Applications using the proxy handler /me/* and /my-org/* with DPoP enabled.

### Affected product and versions Auth0/nextjs-auth0 v4.12.0 to 4.17.0

### Resolution Upgrade Auth0/nextjs-auth0 version to v4.18.0 or greater

### Acknowledgements Okta would like to thank Reynaldo Immanuel for their discovery and responsible disclosure.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/@auth0/nextjs-auth0
Introduced in: 4.12.0Fixed in: 4.18.0
Fixnpm install @auth0/nextjs-auth0@4.18.0

References