Ansible-automation-platform: privilege escalation via excessive group writable /etc/passwd permissions (Red Hat Red Hat Ansible Automation Platform 2.16)

CVE-2025-57847
MEDIUM 6.4

En bref

Source
NVD
EPSS
EPSS 0.18 % · centile 8 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
redhat
Statut NVD
Modified

Description

A container privilege escalation flaw was found in certain Ansible Automation Platform images. This issue arises from the /etc/passwd file being created with group-writable permissions during the build process. In certain conditions, an attacker who can execute commands within an affected container, even as a non-root user, can leverage their membership in the root group to modify the /etc/passwd file. This vulnerability allows an attacker to add a new user with any arbitrary UID, including UID 0, gaining full root privileges within the container.

Faiblesses (CWE)

  • CWE-276 — Permissions par défaut incorrectes

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 6.4CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:Hredhat
CVSS 3.1MEDIUM 6.4CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:HNVD · secalert@redhat.com (Secondary)

Références européennes

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Red Hat · Red Hat Ansible Automation Platform 2.16unaffected 1789001438 < *
Red Hat · Red Hat Ansible Automation Platform 2.16unaffected 1789023765 < *
Red Hat · Red Hat Ansible Automation Platform 2.18unaffected 1789023329 < *
Red Hat · Red Hat Ansible Automation Platform 2.18unaffected 1789001715 < *
Red Hat · Red Hat Ansible Automation Platform 2.5unaffected 1784035663 < *
Red Hat · Red Hat Ansible Automation Platform 2.5unaffected 1789634812 < *
Red Hat · Red Hat Ansible Automation Platform 2.5unaffected 1784051694 < *
Red Hat · Red Hat Ansible Automation Platform 2.5unaffected 1789654540 < *
Red Hat · Red Hat Ansible Automation Platform 2.6unaffected 1789658734 < *
Red Hat · Red Hat Ansible Automation Platform 2.6unaffected 1789661423 < *
Red Hat · Red Hat Ansible Automation Platform 2.6unaffected 1789654312 < *
Red Hat · Red Hat Ansible Automation Platform 2.7unaffected 1788901236 < *
Red Hat · Red Hat Ansible Automation Platform 2.7unaffected 1789582543 < *
Red Hat · Red Hat Ansible Automation Platform 2.7unaffected 1789584820 < *
Red Hat · Red Hat Ansible Automation Platform 2
Red Hat · Red Hat Ansible Automation Platform 2
Red Hat · Red Hat Ansible Automation Platform 2
Red Hat · Red Hat Ansible Automation Platform 2
Red Hat · Red Hat Ansible Automation Platform 2
Red Hat · Red Hat Ansible Automation Platform 2

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD