CVE-2023-27490
1 advisory.
npm/next-auth CVE-2023-27490: high 8.1
Missing proper state, nonce and PKCE checks for OAuth authentication
Action: Upgrade next-auth to 4.20.1 or later.
npm i next-auth@4.20.1Affected
| introduced | fixed | last affected |
|---|---|---|
| 0 | 4.20.1 | - |
Fixed versions
| 4.20.1 |
Sources
- osv: GHSA-7r7x-4c4q-c4qf
- https://github.com/nextauthjs/next-auth/security/advisories/GHSA-7r7x-4c4q-c4qf
- https://nvd.nist.gov/vuln/detail/CVE-2023-27490
- https://authjs.dev/reference/core/providers#checks
- https://danielfett.de/2020/05/16/pkce-vs-nonce-equivalent-or-not
- https://github.com/nextauthjs/next-auth
- https://github.com/nextauthjs/next-auth/compare/next-auth@4.20.0...next-auth@4.20.1#diff-cf9257195d0cb6a835ae4ff1fc73fe2cac0bab847efb0832c1f551209a972b47R55
- https://next-auth.js.org/configuration/initialization#advanced-initialization
- https://next-auth.js.org/configuration/providers/oauth
- https://security.netapp.com/advisory/ntap-20230420-0006
- https://www.rfc-editor.org/rfc/rfc6749#section-10.12
CVE-2023-27490 · published · modified · JSON