CVE-2021-21310
| Summary |
NextAuth.js (next-auth) is am open source authentication solution for Next.js applications. In next-auth before version 3.3.0 there is a token verification vulnerability. Implementations using the Prisma database adapter in conjunction with the Email provider are impacted. Implementations using the Email provider with the default database adapter are not impacted. Implementations using the Prisma database adapter but not using the Email provider are not impacted. The Prisma database adapter was checking the verification token, but was not verifying the email address associated with that token. This made it possible to use a valid token to sign in as another user when using the Prima adapter in conjunction with the Email provider. This issue is specific to the community supported Prisma adapter. This issue is fixed in version 3.3.0.
|
| Publication Date |
Feb. 12, 2021, 7:15 a.m. |
| Registration Date |
Feb. 12, 2021, 10:02 a.m. |
| Last Update |
Nov. 21, 2024, 2:47 p.m. |
|
CVSS3.1 : MEDIUM
|
| スコア |
5.9
|
| Vector |
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| 攻撃元区分(AV) |
ネットワーク |
| 攻撃条件の複雑さ(AC) |
高 |
| 攻撃に必要な特権レベル(PR) |
不要 |
| 利用者の関与(UI) |
不要 |
| 影響の想定範囲(S) |
変更なし |
| 機密性への影響(C) |
高 |
| 完全性への影響(I) |
なし |
| 可用性への影響(A) |
なし |
|
CVSS2.0 : MEDIUM
|
| Score |
4.3
|
| Vector |
AV:N/AC:M/Au:N/C:P/I:N/A:N |
| 攻撃元区分(AV) |
ネットワーク |
| 攻撃条件の複雑さ(AC) |
中 |
| 攻撃前の認証要否(Au) |
不要 |
| 機密性への影響(C) |
低 |
| 完全性への影響(I) |
なし |
| 可用性への影響(A) |
なし |
| Get all privileges. |
いいえ
|
| Get user privileges |
いいえ
|
| Get other privileges |
いいえ
|
| User operation required |
いいえ
|
Affected software configurations
| Configuration1 |
or higher |
or less |
more than |
less than |
| cpe:2.3:a:nextauth.js:next-auth:*:*:*:*:*:node.js:*:* |
|
|
|
3.3.0 |
Related information, measures and tools
Common Vulnerabilities List
JVN Vulnerability Information
NextAuth.js におけるスプーフィングによる認証回避に関する脆弱性
| Title |
NextAuth.js におけるスプーフィングによる認証回避に関する脆弱性
|
| Summary |
NextAuth.js (next-auth) には、スプーフィングによる認証回避に関する脆弱性が存在します。
|
| Possible impacts |
情報を取得される可能性があります。 |
| Solution |
ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date |
Feb. 10, 2021, midnight |
| Registration Date |
Nov. 9, 2021, 6:04 p.m. |
| Last Update |
Nov. 9, 2021, 6:04 p.m. |
Affected System
| NextAuth.js |
|
next-auth 3.3.0 未満
|
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
| No |
Changed Details |
Date of change |
| 1 |
[2021年11月09日] 掲載 |
Nov. 9, 2021, 6:04 p.m. |