CVE-2022-47952 json
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 prote…
published 2023-01-01 3 y ago modified 2026-06-17 4 mo ago also EUVD-2022-50682
- cvss
- 3.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 54%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- lxc Debian 14, Debian 13, Debian 12 1:5.0.2-1
debian advisories DEBIAN-CVE-2022-47952
- lxc Ubuntu Pro 18.04 LTS 3.0.3-0ubuntu1~18.04.3+esm1
- lxc Ubuntu Pro 20.04 LTS 1:4.0.12-0ubuntu1~20.04.1+esm1
- lxc Ubuntu Pro 22.04 LTS 1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1+esm1
- lxc Ubuntu Pro 24.04 LTS 1:5.0.3-2ubuntu7.3+esm1
ubuntu advisories UBUNTU-CVE-2022-47952
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- lxc Package Hub 15 SP6, Package Hub 15 SP5, openSUSE Leap 15.6 +1 more 6.0.2-bp156.2.3.1
- lxc openSUSE Tumbleweed 5.0.2-1.1
opensuse advisories openSUSE-SU-2024:0342-1openSUSE-SU-2024:12935-1
- lxc Alpine 3.14 4.0.10-r2
- lxc Alpine 3.16, Alpine 3.15 4.0.12-r2
- lxc Alpine 3.24, Alpine 3.23, Alpine 3.22 +5 more 5.0.1-r2
alpine advisories ALPINE-CVE-2022-47952
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-47952 updated
lxc: information disclosure vulnerability
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
0.72% chance of exploitation in the next 30 days, higher than 54% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 3.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVD | 3.1 | 3.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| CNA | 3.1 | 3.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
Classification
- Weakness
-
- CWE-203 Observable Discrepancy
References
-
bugs.launchpad.net
/ubuntu/+source/lxc/+bug/1783591/comments/45
issue-tracking, vendor-advisory
-
github.com
/lxc/lxc/blob/0b83d71c2c8f3bac9503f894cd84584f79258bb3/lxc.spec.in#L274
third-party-advisory
-
github.com
/lxc/lxc/blob/0b83d71c2c8f3bac9503f894cd84584f79258bb3/src/lxc/cmd/lxc_user_nic.c#L1085-L1104
third-party-advisory
-
github.com
/MaherAzzouzi/CVE-2022-47952
third-party-advisory
-
lists.debian.org
/debian-lts-announce/2023/08/msg00025.html
mailing-list
Sources
- CVE List CVE-2022-47952
- NVD CVE-2022-47952
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.