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
Rattler vulnerable to entry-point path traversal in noarch:python install (arbitrary file write)
Vulnerability Description
Rattler is a library that provides common functionality used within the conda ecosystem. Prior to version 0.43.2, `EntryPoint::FromStr` in `rattler_conda_types` performs only `.trim()` on the `command` field before the linker joins it onto the install prefix and writes an executable Python script. A malicious `noarch:python` package can ship an `info/link.json` with an entry-point name containing `..`, `/`, `\`, or an absolute path; the resulting file is written outside the prefix (or clobbers an existing in-prefix entry-point such as `bin/pip`) with mode `0o775` on Unix and a copied launcher `.exe` on Windows. This affects the default install path of `pixi install`, `mamba install` via py-rattler, `rattler-build`, and any other consumer of the `rattler` install crate; no flag or post-link-script opt-in is involved. Version 0.43.2 contains a fix for the issue.
CVSS Information
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Vulnerability Title
Conda rattler 路径遍历漏洞
Vulnerability Description
Conda rattler是Conda组织的一个软件工具。 rattler 0.43.2之前版本、py-rattler 0.24.0之前版本、rattler-build 0.65.0之前版本和pixi 0.69.0之前版本存在安全漏洞,该漏洞源于`EntryPoint::FromStr`在`rattler_conda_types`中对command字段仅进行trim处理,恶意`noarch:python`包可利用包含`..`、`/`、`\`或绝对路径的entry-point名称,导致文件被写入安装前缀之外
CVSS Information
N/A
Vulnerability Type
N/A