cve.bz

CVE-2024-6840 Improper Authorization

6.6 mediumEPSS 0.4%Fix available

Medium (6.6). EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

6.6 medium
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:L/A:N
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 38th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2024-09-12. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-285 Improper Authorization
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • Red Hat Red Hat Ansible Automation Platform 2.4 for RHEL 8: fixed in 0:4.5.10-1.el8ap
  • Red Hat Red Hat Ansible Automation Platform 2.4 for RHEL 9: fixed in 0:4.5.10-1.el9ap
  • Red Hat: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2024-6840 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-6840?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-6840?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-6840 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Ansible Automation Platform 2.4 for RHEL 80:4.5.10-1.el8ap
Red Hat Ansible Automation Platform 2.4 for RHEL 90:4.5.10-1.el9ap

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatansible_automation_platform:2.4::el8automation-controller, automation-controller-ui, automation-controller-cli and 2 more0:4.5.10-1.el8apRHSA-2024:6428
Red Hatansible_automation_platform:2.4::el8python39-django, python3x-django0:4.2.15-1.el8apRHSA-2024:6428
Red Hatansible_automation_platform:2.4::el8python39-grpcio, python3x-grpcio, python39-grpcio-debuginfo and 1 more0:1.58.3-1.el8apRHSA-2024:6428
Red Hatansible_automation_platform:2.4::el8, ansible_automation_platform_developer:2.4::el8, ansible_automation_platform_inside:2.4::el8python39-zipp0:3.19.2-1.el8apRHSA-2024:6428
Red Hatansible_automation_platform:2.4::el9automation-controller, automation-controller-ui, automation-controller-cli and 2 more0:4.5.10-1.el9apRHSA-2024:6428
Red Hatansible_automation_platform:2.4::el9python-django, python3-django0:4.2.15-1.el9apRHSA-2024:6428
Red Hatansible_automation_platform:2.4::el9python-grpcio, python3-grpcio, python3-grpcio-debuginfo and 1 more0:1.58.3-1.el9apRHSA-2024:6428
Red Hatansible_automation_platform:2.4::el9, ansible_automation_platform_developer:2.4::el9, ansible_automation_platform_inside:2.4::el9python-zipp, python3-zipp0:3.19.2-1.el9apRHSA-2024:6428
Red Hatansible_automation_platform_developer:2.4::el8automation-controller, automation-controller-cli0:4.5.10-1.el8apRHSA-2024:6428
Red Hatansible_automation_platform_developer:2.4::el9automation-controller, automation-controller-cli0:4.5.10-1.el9apRHSA-2024:6428

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Ansible Automation Platform 2.4 for RHEL 8automation-controller-0:4.5.10-1.el8apFixed 2024-09-05RHSA-2024:6428
Red Hat Ansible Automation Platform 2.4 for RHEL 9automation-controller-0:4.5.10-1.el9apFixed 2024-09-05RHSA-2024:6428

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-6840.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-285 (16).

References

Check your stackJSON