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

Published Jul 17, 2024
·
Updated

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 Software

1 affected component
Ansible Automation Controller

Event History

Jul 17, 2024
Data Sourced
via Red Hat·06:09 PM
DescriptionSeverityAffected Software
Sep 12, 2024
CVE Published
via MITRE·04:35 PM
Data Sourced
via MITRE·04:35 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:15 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-6840?

CVE-2024-6840 is classified as a critical vulnerability due to its potential for privilege escalation in the Ansible Automation Controller.

2

How do I fix CVE-2024-6840?

To mitigate CVE-2024-6840, ensure that service account tokens are not automatically mounted by configuring `automountServiceAccountToken: false`.

3

Who is affected by CVE-2024-6840?

CVE-2024-6840 affects users of the Ansible Automation Controller that utilize Kubernetes API servers with certain configurations.

4

What type of vulnerability is CVE-2024-6840?

CVE-2024-6840 is an improper authorization flaw that allows for privilege escalation.

5

What is the potential impact of CVE-2024-6840?

The potential impact of CVE-2024-6840 includes unauthorized access and control over sensitive resources within the Ansible Automation Controller.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203