#VU59579 OS Command Injection in ansible-runner


Published: 2022-01-13

Vulnerability identifier: #VU59579

Vulnerability risk: Low

CVSSv3.1: 6.8 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2021-4041

CWE-ID: CWE-78

Exploitation vector: Local

Exploit availability: No

Vulnerable software:
ansible-runner
Universal components / Libraries / Libraries used by multiple products

Vendor: Ansible

Description

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to improper input validation in the ansible_runner.interface.run_command. A local user can pass specially crafted parameters to the command that get executed on the host operating system instead of the guest OS.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

ansible-runner: 2.0.0 - 2.0.3


External links
http://bugzilla.redhat.com/show_bug.cgi?id=2028074
http://github.com/ansible/ansible-runner/commit/3533f265f4349a3f2a0283158cd01b59a6bbc7bd


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability