Opis (engleski)
A flaw was found in shadow-utils. The newgidmap and newuidmap utilities validate that a caller-supplied file descriptor refers to a directory on the /proc filesystem by comparing device numbers, then open a file by name relative to that directory to write privileged group/user ID mapping data. A local, unprivileged user can use Linux user and mount namespaces to bind-mount an attacker-chosen file over the expected path, defeating the device-number check and causing the helper to overwrite the first five bytes of the attacker-chosen file with fixed content.
Privremena mjera proizvođača
Disabling the creation of unprivileged user namespaces (for example, by setting the sysctl user.max_user_namespaces to 0) prevents the creation of the namespaces required to carry out this attack. This can affect functionality that relies on unprivileged user namespaces, such as rootless containers, so it should be tested before being applied broadly. Red Hat Enterprise Linux 10 is not expected to require this mitigation, since newgidmap and newuidmap are not installed setuid-root on these releases.
Izvorni tekst iz CVE zapisa proizvođača.
Zahvaćeni proizvodi i verzije
CVSS vektor, objašnjeno
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
- Put napada
- Lokalno, na sustavu
- Složenost napada
- Niska
- Potrebne ovlasti
- Obični korisnik
- Interakcija korisnika
- Nije potrebna
- Opseg
- Samo ranjiva komponenta
- Povjerljivost
- Bez utjecaja
- Integritet
- Nizak utjecaj
- Dostupnost
- Nizak utjecaj
Vrsta slabosti (CWE)
- CWE-59 Improper Link Resolution Before File Access
Reference
- access.redhat.com/security/cve/CVE-2026-135901
- bugzilla.redhat.com/show_bug.cgi?id=2583156
- github.com/shadow-maint/shadow/releases/tag/4.20.4
Izvori: CVE.org (CNA i CISA ADP), CISA KEV, FIRST EPSS. Uvijek provjerite službenu objavu proizvođača.