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
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