CVE-2024-6840 json
Automation-controller: gain access to the k8s api server via job execution with container group
published 2024-09-12 2 y ago modified 2026-11-05 3 d ago also EUVD-2024-48013
- cvss
- 6.6
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 37%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Red Hat Red Hat Ansible Automation Platform 2.4 for RHEL 8 0:4.5.10-1.el8ap
- Red Hat Red Hat Ansible Automation Platform 2.4 for RHEL 9 0:4.5.10-1.el9ap
- python-zipp ansible automation platform inside 2.4, ansible automation platform developer 2.4, ansible automation platform 2.4 3.19.2-1.el9ap
- python3-zipp ansible automation platform inside 2.4, ansible automation platform developer 2.4, ansible automation platform 2.4 3.19.2-1.el9ap
- python-django ansible automation platform 2.4 4.2.15-1.el9ap
- python-grpcio ansible automation platform 2.4 1.58.3-1.el9ap
- python39-zipp ansible automation platform inside 2.4, ansible automation platform developer 2.4, ansible automation platform 2.4 3.19.2-1.el8ap
- python3-django ansible automation platform 2.4 4.2.15-1.el9ap
- python3-grpcio ansible automation platform 2.4 1.58.3-1.el9ap
- python39-django ansible automation platform 2.4 4.2.15-1.el8ap
red hat advisories RHSA-2024:6428
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-6840 updated cvss 6.6
automation-controller: Gain access to the k8s API server via job execution with Container Group
-
Red Hat Ansible Automation Platform 2.4 for RHEL 8 automation-controller-venv-tower 4.5.10-1.el8ap Red Hat Ansible Automation Platform 2.4 for RHEL 9 automation-controller-venv-tower 4.5.10-1.el9apfixed: vendor fix RHSA-2024:6428
-
Red Hat Ansible Automation Platform 2.4 for RHEL 8 python39-zipp 3.19.2-1.el8ap, python39-django 4.2.15-1.el8ap, python39-grpcio 1.58.3-1.el8ap, python3x-django 4.2.15-1.el8ap, python3x-grpcio 1.58.3-1.el8ap, python39-gunicorn 22.0.0-2.el8ap, +11 more Red Hat Ansible Automation Platform 2.4 for RHEL 9 python-zipp 3.19.2-1.el9ap, python3-zipp 3.19.2-1.el9ap, python-django 4.2.15-1.el9ap, python-grpcio 1.58.3-1.el9ap, python3-django 4.2.15-1.el9ap, python3-grpcio 1.58.3-1.el9ap, +12 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
0.43% chance of exploitation in the next 30 days, higher than 37% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.6 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:L/A:N |
Affected products
- Red Hat Red Hat Ansible Automation Platform 2.4 for RHEL 8
- Red Hat Red Hat Ansible Automation Platform 2.4 for RHEL 9
Classification
- Weakness
-
- CWE-285 Improper Authorization
References
-
access.redhat.com
/errata/RHSA-2024:6428
vendor-advisory
-
access.redhat.com
/security/cve/CVE-2024-6840
vdb-entry
-
bugzilla.redhat.com
/show_bug.cgi?id=2298492
issue-tracking
Sources
- CVE List CVE-2024-6840
- NVD CVE-2024-6840
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.