漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Deno: BYONM module resolution allows `package.json` main path traversal to bypass `--allow-read` restrictions
Vulnerability Description
Deno is a JavaScript, TypeScript, and WebAssembly runtime. Prior to 2.7.12, when Deno was run in BYONM mode (nodeModulesDir: "manual"), the module resolver did not validate that a package's resolved entrypoint stayed within its node_modules/<pkg>/ directory. A malicious package.json whose main field contained .. segments was able to resolve to an arbitrary path on disk, and the resolver then read that file without consulting the --allow-read allowlist. This let a require("evil-pkg") call return the contents of a file that a direct Deno.readTextFileSync(...) call would have been blocked from reading. This vulnerability is fixed in 2.7.12.
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Vulnerability Title
Deno Land Deno 路径遍历漏洞
Vulnerability Description
Deno是Deno组织开源的一个简单、现代且安全的 JavaScript 和 TypeScript 运行环境。 Deno Land Deno 2.7.12之前版本存在路径遍历漏洞,该漏洞源于模块解析器在BYONM模式下未验证包的入口点是否在node_modules/<pkg>/目录内,导致恶意package.json中的..段可解析到磁盘上的任意路径,并绕过--allow-read白名单读取文件。
CVSS Information
N/A
Vulnerability Type
N/A