{"answers":{"affected":"3 open source packages ship an affected version, including galaxy-importer. It affects 2 products.","exploited":"There is no known exploitation of CVE-2023-5189 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2023-5189 is a medium-severity path traversal vulnerability in Redhat Satellite, published on 14 Nov 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-5189 and fix it if it is affected.\n\nWhat it is: CVE-2023-5189 is a medium-severity path traversal vulnerability in Redhat Satellite, published on 14 Nov 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2023-5189 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- galaxy-importer (PyPI): affected all versions up to 0.4.16; no fix listed\n- galaxy-importer (PyPI): affected all versions up to 0.4.16; no fix listed\n- galaxy-importer (PyPI): affected all versions up to 0.4.16; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-5189/ (Markdown: https://insights.sbomify.com/CVE-2023-5189/index.md)","id":"CVE-2023-5189","markdown":"https://insights.sbomify.com/CVE-2023-5189/index.md","name":"CVE-2023-5189","record":{"aliases":["GHSA-55g2-vm3q-7w52","PYSEC-2026-1401","UBUNTU-CVE-2023-5189"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Ansible Automation Hub","requires_auth":"low_privilege","summary":"Attackers can overwrite files via malicious tarballs in Ansible Automation Hub, requiring patches for Red Hat Ansible and Satellite.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"ansible_automation_platform","vendor":"redhat"},{"product":"satellite","vendor":"redhat"}],"cvss":{"score":6.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-23","name":"Relative Path Traversal"}],"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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Hub: insecure galaxy-importer tarfile extraction","id":"CVE-2023-5189","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":"redhat:satellite","products":["redhat:satellite"],"type":"path_traversal","year":"2023"},"n_packages":3,"n_references":5,"next":{"headline":"Liferay Portal and Liferay DXP Vulnerable to Open Redirect in Countries Management's Edit Region Page","id":"CVE-2023-5190"},"packages":[{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["0.4.16"],"package":"galaxy-importer","purl":null,"source":"GHSA-55g2-vm3q-7w52"},{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["0.4.16"],"package":"galaxy-importer","purl":"pkg:pypi/galaxy-importer","source":"GHSA-55g2-vm3q-7w52"},{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["0.4.16"],"package":"galaxy-importer","purl":"pkg:pypi/galaxy-importer","source":"PYSEC-2026-1401"}],"prev":{"headline":"WAGO Improper Input Validation in IEC61850 Server / Telecontrol","id":"CVE-2023-5188"},"products":["Red Hat Ansible Automation Platform 2.4 for RHEL 8","Red Hat Ansible Automation Platform 2.4 for RHEL 9","Red Hat Satellite 6.14 for RHEL 8","Red Hat Satellite 6.15 for RHEL 8"],"published":"2023-11-14","related":[{"cvss_score":8.8,"headline":"Privilege escalation in ansible-tower","id":"CVE-2021-4112","kev_date_added":null,"published":"2022-08-25"},{"cvss_score":7.3,"headline":"Platform: ec2_key module prints out the private key directly to the standard output","id":"CVE-2023-4237","kev_date_added":null,"published":"2023-10-04"},{"cvss_score":7.1,"headline":"Improper Input Validation and Command Injection in Ansible","id":"CVE-2021-3583","kev_date_added":null,"published":"2021-09-22"},{"cvss_score":6.7,"headline":"Event-driven-ansible: event stream test mode exposes sensitive headers in aap eda","id":"CVE-2025-9907","kev_date_added":null,"published":"2026-02-27"},{"cvss_score":6.7,"headline":"Event-driven-ansible: sensitive internal headers disclosure in aap eda event streams","id":"CVE-2025-9908","kev_date_added":null,"published":"2026-02-27"},{"cvss_score":6.7,"headline":"Aap-gateway: improper path validation in gateway allows credential exfiltration","id":"CVE-2025-9909","kev_date_added":null,"published":"2026-02-27"},{"cvss_score":6.5,"headline":"Privilege escalation in Red Hat Ansible Automation Platform","id":"CVE-2022-2568","kev_date_added":null,"published":"2022-08-18"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-11-20","vendors":["Red Hat"]},"summary":"Attackers can overwrite files via malicious tarballs in Ansible Automation Hub, requiring patches for Red Hat Ansible and Satellite.","url":"https://insights.sbomify.com/CVE-2023-5189/"}