better-authでアカウントを乗っ取られる脆弱性、修正版は1.8.0-beta.5
Summary
better-authの一部の版には、メールアドレス変更用のリンクが申請したユーザーと結び付いていないため、アカウントを乗っ取られる脆弱性があります。影響を受けるのは1.8.0-beta.0から1.8.0-beta.5より前の版と、1.4.0から1.7.16より前の版です。修正版は1.8.0-beta.5で、利用中の版を確認し、早めに修正版へ更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
better-authの一部の版には、メールアドレス変更用のリンクが申請したユーザーと結び付いていないため、アカウントを乗っ取られる脆弱性があります。影響を受けるのは1.8.0-beta.0から1.8.0-beta.5より前の版と、1.4.0から1.7.16より前の版です。修正版は1.8.0-beta.5で、利用中の版を確認し、早めに修正版へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| better-authbetter-auth |
≥ 1.8.0-beta.0, < 1.8.0-beta.5→ 1.8.0-beta.5 |
1.8.0-beta.5 |
Original description The description as published by the source.
better-auth 1.4.0 before 1.7.16 and 1.8.0-beta.0 before 1.8.0-beta.5 contains an improper authentication vulnerability because email-change links record the old and new addresses but not the requesting user. Attackers can open a still-valid link issued for their own account after a victim registers the attacker's released old address, gaining a session and changing the victim's email to one they control.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory github.com
- advisory nvd.nist.gov
- web github.com