{"id":"CVE-2026-35368","sourceIdentifier":"security@ubuntu.com","published":"2026-04-22T17:16:40.560","lastModified":"2026-10-26T21:10:00.170","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"A vulnerability exists in the chroot utility of uutils coreutils when using the --userspec option. The utility resolves the user specification via getpwnam() after entering the chroot but before dropping root privileges. On glibc-based systems, this can trigger the Name Service Switch (NSS) to load shared libraries (e.g., libnss_*.so.2) from the new root directory. If the NEWROOT is writable by an attacker, they can inject a malicious NSS module to execute arbitrary code as root, facilitating a full container escape or privilege escalation."},{"lang":"es","value":"Existe una vulnerabilidad en la utilidad chroot de uutils coreutils al usar la opción --userspec. La utilidad resuelve la especificación de usuario a través de getpwnam() después de entrar en el chroot, pero antes de abandonar los privilegios de root. En sistemas basados en glibc, esto puede activar el Name Service Switch (NSS) para cargar bibliotecas compartidas (p. ej., libnss_*.so.2) desde el nuevo directorio raíz. Si el NEWROOT es escribible por un atacante, pueden inyectar un módulo NSS malicioso para ejecutar código arbitrario como root, facilitando un escape completo del contenedor o una escalada de privilegios."}],"affected":[{"source":"security@ubuntu.com","affectedData":[{"vendor":"Uutils","product":"coreutils","defaultStatus":"affected","collectionURL":"https://github.com/uutils","packageName":"coreutils","platforms":["Linux","Unix","macOS"],"repo":"https://github.com/uutils/coreutils"}]}],"metrics":{"cvssMetricV31":[{"source":"security@ubuntu.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.1,"impactScore":6.0}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-04-23T00:00:00+00:00","id":"CVE-2026-35368","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security@ubuntu.com","type":"Secondary","description":[{"lang":"en","value":"CWE-426"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:uutils:coreutils:-:*:*:*:*:rust:*:*","matchCriteriaId":"4A9AF9E4-E17C-48AD-8051-B49998618839"}]}]}],"references":[{"url":"https://github.com/uutils/coreutils/issues/10327","source":"security@ubuntu.com","tags":["Exploit","Issue Tracking","Vendor Advisory"]},{"url":"https://github.com/uutils/coreutils/issues/10327","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","tags":["Exploit","Issue Tracking","Vendor Advisory"]}]}