漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Oceanic allows unsanitized user input to lead to path traversal in URLs
Vulnerability Description
Oceanic is a NodeJS library for interfacing with Discord. Prior to version 1.10.4, input to functions such as `Client.rest.channels.removeBan` is not url-encoded, resulting in specially crafted input such as `../../../channels/{id}` being normalized into the url `/api/v10/channels/{id}`, and deleting a channel rather than removing a ban. Version 1.10.4 fixes this issue. Some workarounds are available. One may sanitize user input, ensuring strings are valid for the purpose they are being used for. One may also encode input with `encodeURIComponent` before providing it to the library.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Vulnerability Type
相对路径遍历
Vulnerability Title
Oceanic 安全漏洞
Vulnerability Description
Oceanic是Oceanic开源的一个用于与 Discord 交互的 NodeJS 库。 Oceanic 1.10.4之前版本存在安全漏洞,该漏洞源于未经清理的用户输入可能导致URL路径穿越。
CVSS Information
N/A
Vulnerability Type
N/A