Every CVE Search/ Get API key

CVE-2024-6840

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

6.6 Medium

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
High
Privileges needed
High
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
Low
Availability
None

Exploit likelihood

0.43%Up 0.4 points since Sep 13, 2024
90%50%10%1%

What each source reports

CVE List Score used 6.6

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

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.

Record
CVE-2024-6840
CVSS 3.1
6.6 MediumCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:L/A:N
Weakness
CWE-285
Updated
2026-11-05
EUVDEUVD-2024-48013 6.6

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.

Record
EUVD-2024-48013
CVSS 3.1
6.6 MediumCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:L/A:N
Updated
2026-11-05
GitHub AdvisoriesGHSA-64w6-7xrg-vmhg 6.6

An improper authorization flaw exists in the Ansible Automation Controller. This flaw allows an...

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.

Record
GHSA-64w6-7xrg-vmhg
CVSS 3.1
6.6 MediumCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:L/A:N
Weakness
CWE-285
Updated
2026-11-02
NVD 6.6

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.

Record
CVE-2024-6840
CVSS 3.1
6.6 MediumCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:L/A:N
Weakness
CWE-285
Updated
2026-11-05
OSVRHSA-2024:6428 7.5

Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.4 Product Security and Bug Fix Update

Record
RHSA-2024:6428
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
python39-zipp
Red Hat:ansible_automation_platform_developer:2.4::el8
From an advisory covering 13 CVEs
before 0:3.19.2-1.el8ap
0:3.19.2-1.el8ap
python39-zipp
Red Hat:ansible_automation_platform_inside:2.4::el8
From an advisory covering 13 CVEs
before 0:3.19.2-1.el8ap
0:3.19.2-1.el8ap
python39-zipp
Red Hat:ansible_automation_platform:2.4::el8
From an advisory covering 13 CVEs
before 0:3.19.2-1.el8ap
0:3.19.2-1.el8ap
python-zipp
Red Hat:ansible_automation_platform_developer:2.4::el9
From an advisory covering 13 CVEs
before 0:3.19.2-1.el9ap
0:3.19.2-1.el9ap
python3-zipp
Red Hat:ansible_automation_platform_developer:2.4::el9
From an advisory covering 13 CVEs
before 0:3.19.2-1.el9ap
0:3.19.2-1.el9ap
python-zipp
Red Hat:ansible_automation_platform_inside:2.4::el9
From an advisory covering 13 CVEs
before 0:3.19.2-1.el9ap
0:3.19.2-1.el9ap
python3-zipp
Red Hat:ansible_automation_platform_inside:2.4::el9
From an advisory covering 13 CVEs
before 0:3.19.2-1.el9ap
0:3.19.2-1.el9ap
python-zipp
Red Hat:ansible_automation_platform:2.4::el9
From an advisory covering 13 CVEs
before 0:3.19.2-1.el9ap
0:3.19.2-1.el9ap
python3-zipp
Red Hat:ansible_automation_platform:2.4::el9
From an advisory covering 13 CVEs
before 0:3.19.2-1.el9ap
0:3.19.2-1.el9ap
automation-controller-venv-tower
Red Hat:ansible_automation_platform:2.4::el8
From an advisory covering 13 CVEs
before 0:4.5.10-1.el8ap
0:4.5.10-1.el8ap
Show 25 moreShow less
Affected packages
PackageAffectedFixed
automation-controller-venv-tower
Red Hat:ansible_automation_platform:2.4::el9
From an advisory covering 13 CVEs
before 0:4.5.10-1.el9ap
0:4.5.10-1.el9ap
python39-grpcio
Red Hat:ansible_automation_platform:2.4::el8
From an advisory covering 13 CVEs
before 0:1.58.3-1.el8ap
0:1.58.3-1.el8ap
python39-grpcio-debuginfo
Red Hat:ansible_automation_platform:2.4::el8
From an advisory covering 13 CVEs
before 0:1.58.3-1.el8ap
0:1.58.3-1.el8ap
python3x-grpcio
Red Hat:ansible_automation_platform:2.4::el8
From an advisory covering 13 CVEs
before 0:1.58.3-1.el8ap
0:1.58.3-1.el8ap
python3x-grpcio-debugsource
Red Hat:ansible_automation_platform:2.4::el8
From an advisory covering 13 CVEs
before 0:1.58.3-1.el8ap
0:1.58.3-1.el8ap
python-grpcio
Red Hat:ansible_automation_platform:2.4::el9
From an advisory covering 13 CVEs
before 0:1.58.3-1.el9ap
0:1.58.3-1.el9ap
python-grpcio-debugsource
Red Hat:ansible_automation_platform:2.4::el9
From an advisory covering 13 CVEs
before 0:1.58.3-1.el9ap
0:1.58.3-1.el9ap
python3-grpcio
Red Hat:ansible_automation_platform:2.4::el9
From an advisory covering 13 CVEs
before 0:1.58.3-1.el9ap
0:1.58.3-1.el9ap
python3-grpcio-debuginfo
Red Hat:ansible_automation_platform:2.4::el9
From an advisory covering 13 CVEs
before 0:1.58.3-1.el9ap
0:1.58.3-1.el9ap
python39-django
Red Hat:ansible_automation_platform:2.4::el8
From an advisory covering 13 CVEs
before 0:4.2.15-1.el8ap
0:4.2.15-1.el8ap
python3x-django
Red Hat:ansible_automation_platform:2.4::el8
From an advisory covering 13 CVEs
before 0:4.2.15-1.el8ap
0:4.2.15-1.el8ap
python-django
Red Hat:ansible_automation_platform:2.4::el9
From an advisory covering 13 CVEs
before 0:4.2.15-1.el9ap
0:4.2.15-1.el9ap
python3-django
Red Hat:ansible_automation_platform:2.4::el9
From an advisory covering 13 CVEs
before 0:4.2.15-1.el9ap
0:4.2.15-1.el9ap
automation-controller
Red Hat:ansible_automation_platform_developer:2.4::el8
From an advisory covering 13 CVEs
before 0:4.5.10-1.el8ap
0:4.5.10-1.el8ap
automation-controller-cli
Red Hat:ansible_automation_platform_developer:2.4::el8
From an advisory covering 13 CVEs
before 0:4.5.10-1.el8ap
0:4.5.10-1.el8ap
automation-controller
Red Hat:ansible_automation_platform:2.4::el8
From an advisory covering 13 CVEs
before 0:4.5.10-1.el8ap
0:4.5.10-1.el8ap
automation-controller-cli
Red Hat:ansible_automation_platform:2.4::el8
From an advisory covering 13 CVEs
before 0:4.5.10-1.el8ap
0:4.5.10-1.el8ap
automation-controller-server
Red Hat:ansible_automation_platform:2.4::el8
From an advisory covering 13 CVEs
before 0:4.5.10-1.el8ap
0:4.5.10-1.el8ap
automation-controller-ui
Red Hat:ansible_automation_platform:2.4::el8
From an advisory covering 13 CVEs
before 0:4.5.10-1.el8ap
0:4.5.10-1.el8ap
automation-controller
Red Hat:ansible_automation_platform_developer:2.4::el9
From an advisory covering 13 CVEs
before 0:4.5.10-1.el9ap
0:4.5.10-1.el9ap
automation-controller-cli
Red Hat:ansible_automation_platform_developer:2.4::el9
From an advisory covering 13 CVEs
before 0:4.5.10-1.el9ap
0:4.5.10-1.el9ap
automation-controller
Red Hat:ansible_automation_platform:2.4::el9
From an advisory covering 13 CVEs
before 0:4.5.10-1.el9ap
0:4.5.10-1.el9ap
automation-controller-cli
Red Hat:ansible_automation_platform:2.4::el9
From an advisory covering 13 CVEs
before 0:4.5.10-1.el9ap
0:4.5.10-1.el9ap
automation-controller-server
Red Hat:ansible_automation_platform:2.4::el9
From an advisory covering 13 CVEs
before 0:4.5.10-1.el9ap
0:4.5.10-1.el9ap
automation-controller-ui
Red Hat:ansible_automation_platform:2.4::el9
From an advisory covering 13 CVEs
before 0:4.5.10-1.el9ap
0:4.5.10-1.el9ap

History

History
RecordedChangedSources
affected, factsNVD
factsCVE List, EUVD
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2024-6840 is a medium vulnerability (CVSS 6.6) in Red Hat Ansible Automation Platform 2.4 For Rhel 8, published September 12, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.43%, the 37th percentile. No source names a fixed version.

References

Show 55 moreShow less
MoveEnter Open