title: Ansible automation hub: insecure galaxy-importer tarfile extraction
description: A path traversal vulnerability exists in Ansible when extracting tarballs. An attacker could craft a malicious tarball so that when using the galaxy importer of Ansible Automation Hub, a symlink could be dropped on the disk, resulting in files being overwritten.
affected:
{
product: automation_hub
vendor: n/a
defaultStatus: affected
}
{
vendor: Red Hat
product: Red Hat Ansible Automation Platform 2.4 for RHEL 8
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: python3x-galaxy-importer
defaultStatus: affected
versions:
version: 0:0.4.18-1.el8ap, lessThan: *, versionType: rpm, status: unaffected
cpe: [cpe:/a:redhat:ansible_automation_platform:2.4::el9, cpe:/a:redhat:ansible_automation_platform:2.4::el8, 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::el9, 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: python-galaxy-importer
defaultStatus: affected
versions:
version: 0:0.4.18-1.el9ap, lessThan: *, versionType: rpm, status: unaffected
cpe: [cpe:/a:redhat:ansible_automation_platform:2.4::el9, cpe:/a:redhat:ansible_automation_platform:2.4::el8, 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::el9, cpe:/a:redhat:ansible_automation_platform_developer:2.4::el8]
}
{
vendor: Red Hat
product: Red Hat Satellite 6.14 for RHEL 8
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: python-galaxy-importer
defaultStatus: affected
versions:
version: 0:0.4.18-2.el8pc, lessThan: *, versionType: rpm, status: unaffected
cpe: [cpe:/a:redhat:satellite_utils:6.14::el8, cpe:/a:redhat:satellite:6.14::el8, cpe:/a:redhat:satellite_capsule:6.14::el8]
}
{
vendor: Red Hat
product: Red Hat Satellite 6.14 for RHEL 8
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: python-galaxy-importer
defaultStatus: affected
versions:
version: 0:0.4.18-2.el8pc, lessThan: *, versionType: rpm, status: unaffected
cpe: [cpe:/a:redhat:satellite_utils:6.14::el8, cpe:/a:redhat:satellite:6.14::el8, cpe:/a:redhat:satellite_capsule:6.14::el8]
}
metrics:
other: [
content: {'value': 'Moderate', 'namespace': 'https://access.redhat.com/security/updates/classification/'}
type: Red Hat severity rating
]