# 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 prote…

- Severity: Low 3.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.73%, higher than 55% of CVEs (2026-12-01)
- Published: 2023-01-01T00:00:00.000Z
- Modified: 2026-06-17T05:14:31.017Z
- Weaknesses: CWE-203
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- linuxcontainers lxc: up to 5.0.1

## Every score

- CISA-ADP: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`

## References

- <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> (third-party-advisory)
- <https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1783591/comments/45> (issue-tracking, vendor-advisory)
- <https://github.com/MaherAzzouzi/CVE-2022-47952> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2023/08/msg00025.html> (mailing-list)

## Sources

- CVE List: [CVE-2022-47952](https://www.cve.org/CVERecord?id=CVE-2022-47952), CVE Terms of Use, modified 2025-04-10
- NVD: [CVE-2022-47952](https://nvd.nist.gov/vuln/detail/CVE-2022-47952), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-47952 · Whole record: https://cve.day/CVE-2022-47952.json · Rebuilt by cve.day 2026-11-25T22:58:17.976Z
