title: Malicious role archive can cause ansible-galaxy to overwrite arbitrary files
description: An absolute path traversal attack exists in the Ansible automation platform. This flaw allows an attacker to craft a malicious Ansible role and make the victim execute the role. A symlink can be used to overwrite a file outside of the extraction path.
affected:
{
product: ansible
vendor: n/a
versions:
version: 2.14.11, status: unaffected
}
{
product: ansible
vendor: n/a
defaultStatus: affected
}
{
vendor: Red Hat
product: Red Hat Ansible Automation Platform 2.3 for RHEL 8
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: ansible-core
defaultStatus: affected
versions:
version: 0:2.14.11-1.el8ap, lessThan: *, versionType: rpm, status: unaffected
cpe: [cpe:/a:redhat:ansible_automation_platform_developer:2.3::el9, cpe:/a:redhat:ansible_automation_platform_inside:2.3::el8, cpe:/a:redhat:ansible_automation_platform:2.3::el9, cpe:/a:redhat:ansible_automation_platform:2.3::el8, cpe:/a:redhat:ansible_automation_platform_inside:2.3::el9, cpe:/a:redhat:ansible_automation_platform_developer:2.3::el8]
}
{
vendor: Red Hat
product: Red Hat Ansible Automation Platform 2.3 for RHEL 9
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: ansible-core
defaultStatus: affected
versions:
version: 0:2.14.11-1.el9ap, lessThan: *, versionType: rpm, status: unaffected
cpe: [cpe:/a:redhat:ansible_automation_platform_developer:2.3::el9, cpe:/a:redhat:ansible_automation_platform_inside:2.3::el8, cpe:/a:redhat:ansible_automation_platform:2.3::el9, cpe:/a:redhat:ansible_automation_platform:2.3::el8, cpe:/a:redhat:ansible_automation_platform_inside:2.3::el9, cpe:/a:redhat:ansible_automation_platform_developer:2.3::el8]
}
{
vendor: Red Hat
product: Red Hat Ansible Automation Platform 2.4 for RHEL 8
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: ansible-core
defaultStatus: affected
versions:
version: 0:2.15.5-1.el8ap, lessThan: *, versionType: rpm, status: unaffected
cpe: [cpe:/a:redhat:ansible_automation_platform:2.4::el8, cpe:/a:redhat:ansible_automation_platform:2.4::el9, cpe:/a:redhat:ansible_automation_platform_developer:2.4::el9, cpe:/a:redhat:ansible_automation_platform_inside:2.4::el9, cpe:/a:redhat:ansible_automation_platform_inside:2.4::el8, cpe:/a:redhat:ansible_automation_platform_developer:2.4::el8]
}
{
vendor: Red Hat
product: Red Hat Ansible Automation Platform 2.4 for RHEL 9
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: ansible-core
defaultStatus: affected
versions:
version: 0:2.15.5-1.el9ap, lessThan: *, versionType: rpm, status: unaffected
cpe: [cpe:/a:redhat:ansible_automation_platform:2.4::el8, cpe:/a:redhat:ansible_automation_platform:2.4::el9, cpe:/a:redhat:ansible_automation_platform_developer:2.4::el9, cpe:/a:redhat:ansible_automation_platform_inside:2.4::el9, cpe:/a:redhat:ansible_automation_platform_inside:2.4::el8, cpe:/a:redhat:ansible_automation_platform_developer:2.4::el8]
}
{
vendor: Red Hat
product: Red Hat Ansible Automation Platform 1.2
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: ansible
defaultStatus: affected
cpes: cpe:/a:redhat:ansible_automation_platform
}
metrics:
other: [
content: {'value': 'Moderate', 'namespace': 'https://access.redhat.com/security/updates/classification/'}
type: Red Hat severity rating
]