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