Vulnerability · Published Sep 12, 2024 · Assigned by redhat
CVE-2024-6840Automation-controller: gain access to the k8s api server via job execution with container group
Medium 6.6
In plain English
A medium-severity security flaw in automation-controller. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 37% of all known vulnerabilities).
Severity (CVSS 3.1)6.6Medium
Exploit odds (30 days)0.4%top 62.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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 (as reported)
| Vendor | Product | Versions |
|---|---|---|
| automation-controller | 4.5.10-1 – before 4.5.10-1 | |
| Red Hat | Red Hat Ansible Automation Platform 2.4 for RHEL 8 | see references |
| Red Hat | Red Hat Ansible Automation Platform 2.4 for RHEL 8 | see references |
| Red Hat | Red Hat Ansible Automation Platform 2.4 for RHEL 9 | see references |
| Red Hat | Red Hat Ansible Automation Platform 2.4 for RHEL 9 | see references |
Weakness: CWE-285 · Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:L/A:N
References
- RHSA-2024:6428 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2024-6840 vdb-entry, x_refsource_REDHAT
- RHBZ#2298492 issue-tracking, x_refsource_REDHAT