- Accueil
- Vulnérabilités
- CVE-2024-9902
CVE-2024-9902
Ansible-core: ansible-core user may read/write unauthorized content
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))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| 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
- — Publication de la CVE (cve)
Références
- https://access.redhat.com/errata/RHSA-2024:10762vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2024:8969vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2024:9894vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:1861vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2024-9902vdb-entry, x_refsource_REDHAT
- https://bugzilla.redhat.com/show_bug.cgi?id=2318271issue-tracking, x_refsource_REDHAT
- https://lists.debian.org/debian-lts-announce/2024/11/msg00021.html
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