製品・ソフトウェアに関する情報
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.
CVSS3.0 : 警告
Score 5.9
Vector CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS2.0 : 警告
Score 4.3
Vector AV:N/AC:M/Au:N/C:P/I:N/A:N
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.

NVD Vulnerability Information
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.
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