Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
Better Auth OAuth Provider: Refresh Token Rotation Race Condition Allows Concurrent Replay and Token Family Forking
Vulnerability Description
Better Auth is an authentication and authorization library for TypeScript. From 1.4.8-beta.7 until 1.6.11, the @better-auth/oauth-provider POST /oauth2/token endpoint on the refresh_token grant performs a non-atomic read, validate, revoke, and mint sequence on the oauthRefreshToken row, allowing concurrent requests with the same parent refresh token to pass the revoked check and create forked refresh-token families; the vulnerable range also includes embedded better-auth plugin versions before 1.6.0. This issue is fixed in version 1.6.11.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Vulnerability Type
使用共享资源的并发执行不恰当同步问题(竞争条件)
Vulnerability Title
Better Auth 竞争条件问题漏洞
Vulnerability Description
better-auth better-auth是better-auth的防病毒反病毒产品。 Better Auth存在竞争条件问题漏洞,该漏洞源于@better-auth/oauth-provider的POST /oauth2/token端点对refresh_token grant执行非原子读取、验证、撤销和签名序列,可能导致具有相同父刷新令牌的并发请求通过已撤销检查并创建分叉的刷新令牌族。以下版本受到影响:1.4.8-beta.7及之前版本和1.6.0版本至1.6.11版本之前版本。
CVSS Information
N/A
Vulnerability Type
N/A