In the Linux kernel, the following vulnerability has been resolved: clone_private_mnt(): make sure that caller has CAP_SYS_ADMIN in the right userns What we want is to verify there is that clone won't expose something hidden by a mount we wouldn't be able to undo. "Wouldn't be able to undo" may be a result of MNT_LOCKED on a child, but it may also come from lacking admin rights in the userns of the namespace mount belongs to. clone_private_mnt() checks the former, but not the latter. There's a number of rather confusing CAP_SYS_ADMIN checks in various userns during the mount, especially with the new mount API; they serve different purposes and in case of clone_private_mnt() they usually, but not always end up covering the missing check mentioned above.
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: clone_private_mnt(): asegurar que el llamador tenga CAP_SYS_ADMIN en los usuarios correctos. Lo que queremos es verificar que clone no exponga algo oculto por un montaje que no podamos deshacer. "No se puede deshacer" puede ser el resultado de MNT_LOCKED en un hijo, pero también puede provenir de la falta de derechos de administrador en los usuarios del espacio de nombres al que pertenece el montaje. clone_private_mnt() comprueba lo primero, pero no lo segundo. Hay varias comprobaciones de CAP_SYS_ADMIN bastante confusas en varios usuarios durante el montaje, especialmente con la nueva API de montaje; tienen diferentes propósitos y, en el caso de clone_private_mnt(), generalmente, aunque no siempre, cubren la comprobación faltante mencionada anteriormente.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
| Attack Vector | LOCAL |
|---|---|
| Attack Complexity | LOW |
| Privileges Required | LOW |
| User Interaction | NONE |
| Scope | UNCHANGED |
| Confidentiality Impact | NONE |
| Integrity Impact | NONE |
| Availability Impact | HIGH |
| Source | Type | Description |
|---|---|---|
| [email protected] | Primary |
en
NVD-CWE-noinfo
|
| Vendor | Product | Version | Update | Type |
|---|---|---|---|---|
| linux | linux_kernel | * | <built-in method update of dict object at 0x7fd384a9b140> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7fd340af2140> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7fd384a9bfc0> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7fd340ad4580> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7fd384a99b40> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7fd384a98640> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7fd384a9aa80> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7fd340af3880> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7fd36b25c640> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7fd384a98300> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7fd340af3940> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7fd3401ee6c0> | Operating System |
| linux | linux_kernel | 5.14 | <built-in method update of dict object at 0x7fd384a9a8c0> | Operating System |
| linux | linux_kernel | 5.14 | <built-in method update of dict object at 0x7fd36b25c080> | Operating System |
| linux | linux_kernel | 5.14 | <built-in method update of dict object at 0x7fd368d50700> | Operating System |
| debian | debian_linux | 11.0 | <built-in method update of dict object at 0x7fd36b30cfc0> | Operating System |
| Vulnerable | CPE |
|---|---|
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:5.14:-:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:5.14:rc6:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:5.14:rc7:*:*:*:*:*:* |
| Vulnerable | CPE |
|---|---|
| Yes | cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* |