What’s Vulnerable › Vulnerabilities
CVE-2024-6840: Automation-controller: gain access to the k8s api server via job execution with container group
- Severity: medium (CVSS 6.6 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-09-12 · updated 2026-06-17
- Weakness: CWE-285
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
- Red Hat Ansible Automation Platform 2.4 for RHEL 8: all versions — fixed in 0:4.5.10-1.el8ap
- Red Hat Ansible Automation Platform 2.4 for RHEL 9: all versions — fixed in 0:4.5.10-1.el9ap
How to fix
Upgrade to a fixed version: Red Hat Ansible Automation Platform 2.4 for RHEL 8 0:4.5.10-1.el8ap; Red Hat Ansible Automation Platform 2.4 for RHEL 9 0:4.5.10-1.el9ap. Check the vendor advisory for mitigations.
References
- https://access.redhat.com/errata/RHSA-2024:6428
- https://access.redhat.com/security/cve/CVE-2024-6840
- https://bugzilla.redhat.com/show_bug.cgi?id=2298492
Get alerted when CVE-2024-6840 or the next vulnerability affects your stack