CVE-2022-47952

lxc-user-nic in lxc through 5.0.1 is installed setuid root, and may allow local users to infer whether any file exists, even within a protected directory tree, because "Failed to open" often indicates that a file does not exist, whereas "does not refer to a network namespace path" often indicates that a file exists. NOTE: this is different from CVE-2018-6556 because the CVE-2018-6556 fix design was based on the premise that "we will report back to the user that the open() failed but the user has no way of knowing why it failed"; however, in many realistic cases, there are no plausible reasons for failing except that the file does not exist.
Configurations

Configuration 1 (hide)

cpe:2.3:a:linuxcontainers:lxc:*:*:*:*:*:*:*:*

History

21 Nov 2024, 07:32

Type Values Removed Values Added
Summary
  • (es) lxc-user-nic en lxc hasta 5.0.1 está instalado con setuid root y puede permitir a los usuarios locales inferir si existe algún archivo, incluso dentro de un árbol de directorios protegido, porque "Error al abrir" a menudo indica que un archivo no existe. mientras que "no se refiere a una ruta de espacio de nombres de red" a menudo indica que existe un archivo. NOTA: esto es diferente de CVE-2018-6556 porque el diseño de la corrección CVE-2018-6556 se basó en la premisa de que "informaremos al usuario que open() falló pero el usuario no tiene forma de saber por qué". fallido"; sin embargo, en muchos casos realistas, no hay razones plausibles para fallar excepto que el archivo no existe.
References () https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1783591/comments/45 - Issue Tracking, Vendor Advisory () https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1783591/comments/45 - Issue Tracking, Vendor Advisory
References () https://github.com/MaherAzzouzi/CVE-2022-47952 - Third Party Advisory () https://github.com/MaherAzzouzi/CVE-2022-47952 - Third Party Advisory
References () https://github.com/lxc/lxc/blob/0b83d71c2c8f3bac9503f894cd84584f79258bb3/lxc.spec.in#L274 - Third Party Advisory () https://github.com/lxc/lxc/blob/0b83d71c2c8f3bac9503f894cd84584f79258bb3/lxc.spec.in#L274 - Third Party Advisory
References () https://github.com/lxc/lxc/blob/0b83d71c2c8f3bac9503f894cd84584f79258bb3/src/lxc/cmd/lxc_user_nic.c#L1085-L1104 - Third Party Advisory () https://github.com/lxc/lxc/blob/0b83d71c2c8f3bac9503f894cd84584f79258bb3/src/lxc/cmd/lxc_user_nic.c#L1085-L1104 - Third Party Advisory
References () https://lists.debian.org/debian-lts-announce/2023/08/msg00025.html - () https://lists.debian.org/debian-lts-announce/2023/08/msg00025.html -

21 Aug 2023, 23:15

Type Values Removed Values Added
References
  • (MLIST) https://lists.debian.org/debian-lts-announce/2023/08/msg00025.html -

08 Aug 2023, 14:22

Type Values Removed Values Added
CWE CWE-668 CWE-203

Information

Published : 2023-01-01 06:15

Updated : 2024-11-21 07:32


NVD link : CVE-2022-47952

Mitre link : CVE-2022-47952

CVE.ORG link : CVE-2022-47952


JSON object : View

Products Affected

linuxcontainers

  • lxc
CWE
CWE-203

Observable Discrepancy