6.6Medium
CVE-2024-6840Automation-controller: gain access to the k8s api server via job execution with container group
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.
Weakness (CWE):
CWE-285
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| ansible automation platform | 2.4 | — | |
| ansible automation platform developer | 2.4 | — | |
| ansible automation platform inside | 2.4 | — | |
| Red Hat | Red Hat Ansible Automation Platform 2.4 for RHEL 8 | all versions | |
| Red Hat | Red Hat Ansible Automation Platform 2.4 for RHEL 9 | all versions | |
| — | automation-controller | 4.5.10-1 – < 4.5.10-1 |
References and patches
- RHSA-2024:6428 vendor-advisory
- https://access.redhat.com/security/cve/CVE-2024-6840 vdb-entry
- RHBZ#2298492 issue-tracking