---
title: "CVE-2024-9902\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2024-9902?format=md
keywords: index, follow
---

# CVE-2024-9902

Publication date 6 November 2024

Last updated 11 July 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**6.3 · Medium**

[Score breakdown](https://ubuntu.com/security/CVE-2024-9902?format=md#impact-score)

Toggle side navigation

## Description

A flaw was found in Ansible. The ansible-core `user` module can allow an
unprivileged user to silently create or replace the contents of any file on
any system path and take ownership of it when a privileged user executes
the `user` module against the unprivileged user's home directory. If the
unprivileged user has traversal permissions on the directory containing the
exploited target file, they retain full control over the contents of the
file as its owner.

[Read the notes from the security team](https://ubuntu.com/security/CVE-2024-9902?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| ansible | 26.04 LTS resolute | Needs evaluation |
| 25.10 questing | Ignored end of life, was needs-triage |
| 25.04 plucky | Ignored end of life, was needs-triage |
| 24.10 oracular | Ignored end of life, was needs-triage |
| 24.04 LTS noble | Needs evaluation |
| 22.04 LTS jammy | Needs evaluation |
| 20.04 LTS focal | Needs evaluation |
| 18.04 LTS bionic | Needs evaluation |
| 16.04 LTS xenial | Needs evaluation |
| 14.04 LTS trusty | Needs evaluation |
| ansible-core | 26.04 LTS resolute | Needs evaluation |
| 25.10 questing | Ignored end of life, was needs-triage |
| 25.04 plucky | Ignored end of life, was needs-triage |
| 24.10 oracular | Ignored end of life, was needs-triage |
| 24.04 LTS noble | Needs evaluation |
| 22.04 LTS jammy | Needs evaluation |
| 20.04 LTS focal | Not in release |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## Notes

---

### [sbeattie](https://launchpad.net/~sbeattie)

core ansible binaries were split into ansible-base, which
got renamed to ansible-core
core ansible binaries were split into ansible-base, which
got renamed to ansible-core

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

6.3 · Medium

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Local |
  | Attack complexity | High |
  | Privileges required | Low |
  | User interaction | Required |
  | Scope | Unchanged |
  | Confidentiality impact | High |
  | Integrity impact | High |
  | Availability impact | Low |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 6.3 · Medium |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-9902)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2024-9902)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2024-9902)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2024-9902)

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2024-9902>
* <https://bugzilla.redhat.com/show_bug.cgi?id=2318271>
* <https://github.com/ansible/ansible/issues/83955>
* <https://github.com/ansible/ansible/pull/83956>
* <https://access.redhat.com/security/cve/CVE-2024-9902>
* <https://access.redhat.com/errata/RHSA-2024:8969>
