CVE-2021-3589:
Missing Authentication for Critical Function in Foreman Ansible
8.1
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.44646%
CWE
Published
3/24/2022
Updated
5/4/2023
KEV Status
No
Technology
Ruby
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
foreman_ansible | rubygems | < 2.0.0 | 2.0.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from insufficient authorization checks in Remote Execution (REX) integration. The AnsibleProvider's proxy_command_options merges host parameters into the ansible_inventory without validating the user's right to access those hosts. The AnsibleRunner initialization accepts these parameters directly, and the SettingsOverride bypasses normal security checks when ansible_inventory is provided. Together, these functions allow authenticated attackers to craft job templates that execute on unauthorized hosts via manipulated inventory data, consistent with CWE-306's 'Missing Authentication for Critical Function' description.