Incorrect Authorization Affecting ansible-test package, versions <0:2.15.3-1.amzn2023.0.11


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.26% (18th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2023-ANSIBLETEST-9599062
  • published2 Apr 2025
  • disclosed6 Nov 2024

Introduced: 6 Nov 2024

CVE-2024-9902  (opens in a new tab)
CWE-863  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 ansible-test to version 0:2.15.3-1.amzn2023.0.11 or higher.
This issue was patched in ALAS2023-2025-918.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ansible-test package and not the ansible-test package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1