漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
pdm: Path traversal in wheel installation via overridden write_to_fs
Vulnerability Description
pdm is a Python package and dependency manager supporting the latest PEP standards. Versions prior to 2.27.0 are vulnerable to path traversal through write_to_fs. InstallDestination.write_to_fs() in src/pdm/installers/installers.py overrides the base class to add symlink/hardlink support but replaces the safe _path_with_destdir() (which validates via Path.resolve() + is_relative_to()) with a bare os.path.join() that performs no path validation. A malicious wheel with traversal entries can write arbitrary files. This issue has been fixed in version 2.27.0.
CVSS Information
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Vulnerability Title
PDM 路径遍历漏洞
Vulnerability Description
PDM是PDM组织的一款产品数据管理解决方案。 PDM 2.27.0之前版本存在路径遍历漏洞,该漏洞源于write_to_fs函数中路径验证不当,用裸os.path.join替换了安全的_path_with_destdir(),可能导致恶意wheel写入任意文件。
CVSS Information
N/A
Vulnerability Type
N/A