CVE-2026-19079 Policycoreutils: policycoreutils: toctou race condition in fixfiles allows arbitrary selinux label manipulation
Description
A TOCTOU (Time-of-Check-Time-of-Use) race condition vulnerability was found in the fixfiles script in policycoreutils. When running fixfiles relabel or fixfiles restore, the script used find and chcon commands to locate and relabel unlabeled files under /tmp and other directories. A local attacker could exploit a race window between the file discovery and the label change operation by swapping directory components with symlinks, causing chcon to follow the symlink and modify SELinux labels on arbitrary system files. This could undermine SELinux mandatory access control protections on critical files such as /etc/shadow.
Détail CVSS 3.1
Vecteur CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:NExploitable avec un accès local à la machine, avec un compte ordinaire et si un utilisateur effectue une action ; un attaquant peut compromettre gravement la confidentialité, l’intégrité ou la disponibilité.
- Vecteur d’attaque
- Local
- Complexité
- Élevée
- Privilèges requis
- Faibles
- Interaction
- Requise
- Portée
- Inchangée
- Confidentialité
- Aucun
- Intégrité
- Élevé
- Disponibilité
- Aucun
Produits et versions touchés
| Produit | Versions touchées | Corrigé en |
|---|---|---|
| Red Hat Enterprise Linux 10 | Versions non publiées | |
| Red Hat Enterprise Linux 6 | Versions non publiées | |
| Red Hat Enterprise Linux 7 | Versions non publiées | |
| Red Hat Enterprise Linux 8 | Versions non publiées | |
| Red Hat Enterprise Linux 9 | Versions non publiées | |
| Red Hat Hardened Images 3.11 | premières → < 3.11-2.2.hum1 | 3.11-2.2.hum1 |
| Red Hat OpenShift Container Platform 4 | Versions non publiées | |
| Red Hat OpenShift Container Platform 5 | Versions non publiées |
Références
- RHSA-2026:51861 access.redhat.com
- access.redhat.com access.redhat.com
- RHBZ#2511976 bugzilla.redhat.com
- github.com github.com
Chronologie
- Publiée
- Dernière modification