漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
OAuth library for nim allows insecure generation of state values by generateState - entropy too low and uses regular PRNG instead of CSPRNG
Vulnerability Description
In the OAuth library for nim prior to version 0.11, the `state` values generated by the `generateState` function do not have sufficient entropy. These can be successfully guessed by an attacker allowing them to perform a CSRF vs a user, associating the user's session with the attacker's protected resources. While `state` isn't exactly a cryptographic value, it should be generated in a cryptographically secure way. `generateState` should be using a CSPRNG. Version 0.11 modifies the `generateState` function to generate `state` values of at least 128 bits of entropy while using a CSPRNG.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Vulnerability Type
使用不充分的随机数
Vulnerability Title
oauth 安全漏洞
Vulnerability Description
oauth是Yoshihiro Tanaka个人开发者的一个适用于 nim 的 oauth 库。 oauth 0.11之前版本存在安全漏洞,该漏洞源于generateState函数生成的state值没有足够的熵,攻击者可以成功猜出这些值,从而对用户执行跨站请求伪造攻击,将用户的会话与攻击者的受保护资源相关联。
CVSS Information
N/A
Vulnerability Type
N/A