PyPi: Ansible-Core

CVE-2024-9902

Safety vulnerability ID: 74221

This vulnerability was reviewed by experts

The information on this page was manually curated by our Cybersecurity Intelligence Team.

Created at Nov 06, 2024 Updated at Sep 30, 2025
Scan your Python projects for vulnerabilities →

Advisory

Affected versions of Ansible are vulnerable to Incorrect Authorization (CWE-863). This flaw allows unprivileged users to silently create or replace any file on the system and assume ownership when a privileged user executes the user module against the unprivileged user's home directory. The attack requires the attacker to have traversal permissions on the directory containing the target file. To exploit, an attacker leverages these permissions to manipulate file contents.

Affected package

ansible-core

Latest version: 2.19.2

Radically simple IT automation

Affected versions

Fixed versions

Vulnerability changelog

This vulnerability has no description

Resources

Use this package?

Scan your Python project for dependency vulnerabilities in two minutes

Scan your application

Severity Details

CVSS Base Score

MEDIUM 6.3

CVSS v3 Details

MEDIUM 6.3
Attack Vector (AV)
LOCAL
Attack Complexity (AC)
HIGH
Privileges Required (PR)
LOW
User Interaction (UI)
REQUIRED
Scope (S)
UNCHANGED
Confidentiality Impact (C)
HIGH
Integrity Impact (I)
HIGH
Availability Availability (A)
LOW