Ansible-core: ansible-core: ansible-galaxy collection install path traversal via unvalidated artifact-derived collection name allows file writes and directory deletion outside the collections path
Red Hat / Migration Toolkit for Applications 8、Migration Toolkit for Virtualization、OpenShift Service Mesh 3、Red Hat Advanced Cluster Management for Kubernetes 2、Red Hat Ansible Automation Platform 2、Red Hat Ansible Automation Platform Ansible Core 2 +13
CVE 记录列出的受影响产品:Red Hat · Red Hat Ansible Automation Platform 2、Red Hat · Red Hat Ansible Automation Platform Ansible Core 2nday 产品登记表中 Ansible 的产品类型
当前阶段
DIS
披露
CVSS
8.1 HIGH v3.1
# 生命周期
横轴 UTC;点=精确到分钟,宽条=仅日期,空心=未知或推定。
时间未知
DIS披露
PAT补丁
尚无记录
ANA分析
尚无记录
POCPoC
尚无记录
ITW在野
尚无记录
KEVKEV
尚无记录
# 摘要
A path traversal flaw was found in ansible-core. When installing a collection with ansible-galaxy collection install, the install destination directory is derived from the namespace and name fields declared inside the collection artifact's own metadata, which are not validated as well-formed collection identifiers or checked for path containment. A malicious collection artifact -- delivered as a local file, a remote URL, a source directory, a git repository, or as a dependency -- can use a crafted name value to redirect the install destination outside the configured collections path, causing ansible-galaxy to delete an existing directory writable by the invoking user and then write attacker-controlled files to that location.