1. Accueil
  2. Vulnérabilités
  3. CVE-2024-9902

CVE-2024-9902

Ansible-core: ansible-core user may read/write unauthorized content

Publiée le 6 nov. 2024 · modifiée le 24 nov. 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Faible 28/100

Résumé

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.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Redhat (6 ligne(s))
Redhat
ProduitVersionsCorrigé dansSource
Ansible Automation Platform Execution Environments Versions non précisées — CNA (éditeur ou attributeur)
Hat Ansible Automation Platform 2.4 for RHEL 8 Versions non précisées — CNA (éditeur ou attributeur)
Hat Ansible Automation Platform 2.4 for RHEL 9 Versions non précisées — CNA (éditeur ou attributeur)
Hat Ansible Automation Platform 2.5 for RHEL 8 Versions non précisées — CNA (éditeur ou attributeur)
Hat Ansible Automation Platform 2.5 for RHEL 9 Versions non précisées — CNA (éditeur ou attributeur)
Hat OpenStack Platform 17.1 for RHEL 9 Versions non précisées — CNA (éditeur ou attributeur)

Correctif

Non renseigné par l’éditeur.

Contournement

Contournementsource officielle

In the play that uses the user module with the key generation option, have a prior task ensuring the public key does not exist for example: - name: avoid user exploit (change name depending on other options used in user task) file: path=/home/{{username}}/.ssh/id_rsa.pub state=absent

Source : CNA (éditeur ou attributeur)

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
CNA (éditeur ou attributeur)
Faiblesse (CWE)
CNA (éditeur ou attributeur)
Vecteur CVSS
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L (CVSS 3.1, CNA:secalert@redhat.com)
Faiblesse
CWE-863 · Authentification / contrôle d'accès

Comment sont obtenues et calculées ces données