Skip to content
OpenAdvisories
Medium · 6.6 CVE-2024-6840 EUVD-2024-48013GHSA-64w6-7xrg-vmhg

Automation-controller: gain access to the k8s api server via job execution with container group

Published Sep 12, 2024 · Updated Nov 5, 2026 · Assigned by redhat

Description

An improper authorization flaw exists in the Ansible Automation Controller. This flaw allows an attacker using the k8S API server to send an HTTP request with a service account token mounted via `automountServiceAccountToken: true`, resulting in privilege escalation to a service account.

Affected products

VendorProductAffectedFixed
— automation-controller 4.5.10-1 – < 4.5.10-1 4.5.10-1
Red Hat Red Hat Ansible Automation Platform 2.4 for RHEL 8 — —
Red Hat Red Hat Ansible Automation Platform 2.4 for RHEL 9 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Red Hat Ansible Automation Platform Inside 2 python-zipp +1 3.19.2-1.el9ap RHSA-2024:6428
Red Hat Ansible Automation Platform Inside 2 python39-zipp 3.19.2-1.el8ap RHSA-2024:6428
Red Hat Ansible Automation Platform Developer 2 automation-controller +1 4.5.10-1.el8ap RHSA-2024:6428
Red Hat Ansible Automation Platform Developer 2 python-zipp +1 3.19.2-1.el9ap RHSA-2024:6428
Red Hat Ansible Automation Platform Developer 2 python39-zipp 3.19.2-1.el8ap RHSA-2024:6428
Red Hat Ansible Automation Platform 2 automation-controller +4 4.5.10-1.el8ap RHSA-2024:6428
Red Hat Ansible Automation Platform 2 python-django +1 4.2.15-1.el9ap RHSA-2024:6428
Red Hat Ansible Automation Platform 2 python-grpcio +1 1.58.3-1.el9ap RHSA-2024:6428
Red Hat Ansible Automation Platform 2 python-zipp +1 3.19.2-1.el9ap RHSA-2024:6428
Red Hat Ansible Automation Platform 2 python39-django +1 4.2.15-1.el8ap RHSA-2024:6428
Red Hat Ansible Automation Platform 2 python39-grpcio +1 1.58.3-1.el8ap RHSA-2024:6428
Red Hat Ansible Automation Platform 2 python39-zipp 3.19.2-1.el8ap RHSA-2024:6428

Advisories 1

References