Low severity · published Jan 1, 2023
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…
3.3
CVSS
0.7%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
Low
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.7% · higher than 54% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
LX
Lxc · Linuxcontainers
through 5.0.1 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2022-47952
CVE.org
https://www.cve.org/CVERecord?id=CVE-2022-47952
Issue Tracking
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1783591/comments/45
Third Party Advisory
https://github.com/MaherAzzouzi/CVE-2022-47952
Third Party Advisory
https://github.com/lxc/lxc/blob/0b83d71c2c8f3bac9503f894cd84584f79258bb3/lxc.spec.in#L274
Third Party Advisory
https://github.com/lxc/lxc/blob/0b83d71c2c8f3bac9503f894cd84584f79258bb3/src/lxc/cmd/lxc_user_nic.c#L1085-L1104
lists.debian.org
https://lists.debian.org/debian-lts-announce/2023/08/msg00025.html
More from Lxc
9.1
CVE-2016-8649
lxc-attach in LXC before 1.0.9 and 2.x before 2.0.6 allows an attacker inside of an unprivileged container to use an inherited file descriptor, of the host's /proc, to access the…
8.6
CVE-2019-5736
runc through 1.0-rc6, as used in Docker before 18.09.2 and other products, allows attackers to overwrite the host runc binary (and consequently obtain host root access) by…
8.6
CVE-2016-10124
An issue was discovered in Linux Containers (LXC) before 2016-02-22
8.1
CVE-2017-18641
In LXC 2.0, many template scripts download code over cleartext HTTP, and omit a digital-signature check, before running it to bootstrap containers
6.5
CVE-2026-39402
lxc lxc-user-nic insufficient ownership validation allows cross-tenant OVS port deletion
