漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
fastify vulnerable to request validation bypass via skipped boolean false schemas
Vulnerability Description
fastify versions before 5.12.2 decide whether to compile a request schema based on JavaScript truthiness, but JSON Schema Draft 7 defines the boolean false as a valid schema that rejects every instance. When an application assigns false to a route's body, querystring, params, or headers schema to deny all input, fastify treats it as a missing schema, compiles no validator, and runs the route handler on any request. An unauthenticated remote client can therefore reach a handler that a valid deny-all schema was intended to make unreachable, a complete validation bypass that can lead to unauthorized state changes or execution of disabled operations. Users should upgrade to fastify 5.12.2 or later.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Vulnerability Type
输入验证不恰当
Vulnerability Title
Fastify 输入验证错误漏洞
Vulnerability Description
Fastify是Fastify团队开源的一个高性能的Node.js Web框架。 Fastify 5.12.2之前版本存在输入验证错误漏洞,该漏洞源于基于JavaScript真值判断是否编译请求模式,将布尔值false错误地视为缺失模式而未编译验证器,导致未经身份验证的远程客户端可向路由处理程序发送任意请求,访问本应被拒绝访问的处理程序,造成完全验证绕过,可能导致未经授权的状态更改或执行被禁用的操作。
CVSS Information
N/A
Vulnerability Type
N/A