漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Black: Arbitrary file writes from unsanitized user input in cache file name
Vulnerability Description
Black is the uncompromising Python code formatter. Prior to 26.3.1, Black writes a cache file, the name of which is computed from various formatting options. The value of the --python-cell-magics option was placed in the filename without sanitization, which allowed an attacker who controls the value of this argument to write cache files to arbitrary file system locations. Fixed in Black 26.3.1.
CVSS Information
N/A
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Vulnerability Title
Black 路径遍历漏洞
Vulnerability Description
Black是Python Software Foundation开源的一个 Python 代码格式化程序。 Black 26.3.1之前版本存在路径遍历漏洞,该漏洞源于缓存文件名未清理--python-cell-magics选项的值,可能导致将缓存文件写入任意文件系统位置。
CVSS Information
N/A
Vulnerability Type
N/A