{"answers":{"affected":"It affects 4 products.","exploited":"There is no known exploitation of CVE-2021-4112 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2021-4112 is a high-severity vulnerability in Redhat Ansible Tower, published on 25 Aug 2022. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-4112 and fix it if it is affected.\n\nWhat it is: CVE-2021-4112 is a high-severity vulnerability in Redhat Ansible Tower, published on 25 Aug 2022. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-4112 in the wild and no public exploit code.\n\nAffected product: Redhat Ansible Tower. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-2021-4112/ (Markdown: https://insights.sbomify.com/CVE-2021-4112/index.md)","id":"CVE-2021-4112","markdown":"https://insights.sbomify.com/CVE-2021-4112/index.md","name":"CVE-2021-4112","record":{"aliases":["GHSA-2q78-vv73-5vr2","RHSA-2022:0460","RHSA-2022:0474"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Ansible Tower","requires_auth":"low_privilege","summary":"An attacker can escape job isolation to elevate privileges from a low-privileged user to an AWX user in Ansible Tower.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"ansible_automation_platform","vendor":"redhat"},{"product":"ansible_automation_platform_early_access","vendor":"redhat"},{"product":"ansible_automation_platform_text-only_advisories","vendor":"redhat"},{"product":"ansible_tower","vendor":"redhat"}],"cvss":{"score":8.8,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-552","name":"Files or Directories Accessible to External Parties"}],"description":"A flaw was found in ansible-tower where the default installation is vulnerable to job isolation escape. This flaw allows an attacker to elevate the privilege from a low privileged user to an AWX user from outside the isolated environment.","ecosystems":["Red Hat:ansible_automation_platform:2.0::el8","Red Hat:ansible_automation_platform:2.1::el8"],"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":"Privilege escalation in ansible-tower","id":"CVE-2021-4112","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"redhat:ansible_tower","products":["redhat:ansible_tower"],"type":"privilege_escalation","year":"2021"},"n_packages":4,"n_references":2,"next":{"headline":"DO NOT USE THIS CANDIDATE NUMBER.","id":"CVE-2021-4113"},"packages":[{"ecosystem":"Red Hat:ansible_automation_platform:2.0::el8","fixed":["0:2.0.3-3.el8ap"],"introduced":["0"],"last_affected":[],"package":"ansible-runner","purl":"pkg:rpm/redhat/ansible-runner","source":"RHSA-2022:0474"},{"ecosystem":"Red Hat:ansible_automation_platform:2.0::el8","fixed":["0:2.0.3-3.el8ap"],"introduced":["0"],"last_affected":[],"package":"python38-ansible-runner","purl":"pkg:rpm/redhat/python38-ansible-runner","source":"RHSA-2022:0474"},{"ecosystem":"Red Hat:ansible_automation_platform:2.1::el8","fixed":["0:2.1.1-2.el8ap"],"introduced":["0"],"last_affected":[],"package":"ansible-runner","purl":"pkg:rpm/redhat/ansible-runner","source":"RHSA-2022:0460"},{"ecosystem":"Red Hat:ansible_automation_platform:2.1::el8","fixed":["0:2.1.1-2.el8ap"],"introduced":["0"],"last_affected":[],"package":"python38-ansible-runner","purl":"pkg:rpm/redhat/python38-ansible-runner","source":"RHSA-2022:0460"}],"prev":{"headline":"Business Logic Errors in yetiforcecompany/yetiforcecrm","id":"CVE-2021-4111"},"products":["ansible-tower"],"published":"2022-08-25","related":[{"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":"Red Hat","prefix":"RHSA"},{"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["n/a"]},"summary":"An attacker can escape job isolation to elevate privileges from a low-privileged user to an AWX user in Ansible Tower.","url":"https://insights.sbomify.com/CVE-2021-4112/"}