# CVE-2022-47952: lxc: lxc-user-nic in lxc through 5.0.1 is installed setuid root, and may allow local users to infer whether any file exist...

CVE-2022-47952 is fixed in 8 products on 1 platform, first by DEBIAN-CVE-2022-47952, released January 1, 2023. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2022-47952
- Priority: Routine
- CVSS: 3.3 (low)
- EPSS: 0.0072
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Dec 31, 2022

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

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | liblxc-common Ubuntu 18.04.6 LTS (bionic) | 3.0.3-0ubuntu1~18.04.3+esm1 | [liblxc-common 3.0.3-0ubuntu1~18.04.3+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-liblxc-common-3.0.3-0ubuntu1-18.04.3-esm1.md) | May 5, 2026 |
| Linux | liblxc-common Ubuntu 20.04 LTS (focal) | 1:4.0.12-0ubuntu1~20.04.1+esm1 | [liblxc-common 1:4.0.12-0ubuntu1~20.04.1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-liblxc-common-1-4.0.12-0ubuntu1-20.04.1-esm1.md) | May 5, 2026 |
| Linux | liblxc-common Ubuntu 22.04.1 LTS (jammy) | 1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1+esm1 | [liblxc-common 1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-liblxc-common-1-5.0.0-git2209-g5a7b9ce67-0ubuntu1.1-esm1.md) | May 5, 2026 |
| Linux | liblxc-common Ubuntu 24.04.5 LTS (noble) | 1:5.0.3-2ubuntu7.3+esm1 | [liblxc-common 1:5.0.3-2ubuntu7.3+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-liblxc-common-1-5.0.3-2ubuntu7.3-esm1.md) | May 5, 2026 |
| Linux | liblxc1 Ubuntu 18.04.6 LTS (bionic) | 3.0.3-0ubuntu1~18.04.3+esm1 | [liblxc1 3.0.3-0ubuntu1~18.04.3+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-liblxc1-3.0.3-0ubuntu1-18.04.3-esm1.md) | May 5, 2026 |
| Linux | liblxc1 Ubuntu 20.04 LTS (focal) | 1:4.0.12-0ubuntu1~20.04.1+esm1 | [liblxc1 1:4.0.12-0ubuntu1~20.04.1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-liblxc1-1-4.0.12-0ubuntu1-20.04.1-esm1.md) | May 5, 2026 |
| Linux | liblxc1 Ubuntu 22.04.1 LTS (jammy) | 1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1+esm1 | [liblxc1 1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-liblxc1-1-5.0.0-git2209-g5a7b9ce67-0ubuntu1.1-esm1.md) | May 5, 2026 |
| Linux | liblxc1t64 Ubuntu 24.04.5 LTS (noble) | 1:5.0.3-2ubuntu7.3+esm1 | [liblxc1t64 1:5.0.3-2ubuntu7.3+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-liblxc1t64-1-5.0.3-2ubuntu7.3-esm1.md) | May 5, 2026 |
| Linux | libpam-cgfs Ubuntu 18.04.6 LTS (bionic) | 3.0.3-0ubuntu1~18.04.3+esm1 | [libpam-cgfs 3.0.3-0ubuntu1~18.04.3+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libpam-cgfs-3.0.3-0ubuntu1-18.04.3-esm1.md) | May 5, 2026 |
| Linux | libpam-cgfs Ubuntu 20.04 LTS (focal) | 1:4.0.12-0ubuntu1~20.04.1+esm1 | [libpam-cgfs 1:4.0.12-0ubuntu1~20.04.1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libpam-cgfs-1-4.0.12-0ubuntu1-20.04.1-esm1.md) | May 5, 2026 |
| Linux | libpam-cgfs Ubuntu 22.04.1 LTS (jammy) | 1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1+esm1 | [libpam-cgfs 1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libpam-cgfs-1-5.0.0-git2209-g5a7b9ce67-0ubuntu1.1-esm1.md) | May 5, 2026 |
| Linux | libpam-cgfs Ubuntu 24.04.5 LTS (noble) | 1:5.0.3-2ubuntu7.3+esm1 | [libpam-cgfs 1:5.0.3-2ubuntu7.3+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libpam-cgfs-1-5.0.3-2ubuntu7.3-esm1.md) | May 5, 2026 |
| Linux | lxc Debian 12.15 (bookworm) | 1:5.0.2-1 | [DEBIAN-CVE-2022-47952](https://patchblox.com/security/data/fix/linux/debian-cve-2022-47952.md) | Jan 1, 2023 |
| Linux | lxc Debian 13.5 (trixie) | 1:5.0.2-1 | [DEBIAN-CVE-2022-47952](https://patchblox.com/security/data/fix/linux/debian-cve-2022-47952.md) | Jan 1, 2023 |
| Linux | lxc Debian 14 | 1:5.0.2-1 | [DEBIAN-CVE-2022-47952](https://patchblox.com/security/data/fix/linux/debian-cve-2022-47952.md) | Jan 1, 2023 |
| Linux | lxc Ubuntu 18.04.6 LTS (bionic) | 3.0.3-0ubuntu1~18.04.3+esm1 | [lxc 3.0.3-0ubuntu1~18.04.3+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-lxc-3.0.3-0ubuntu1-18.04.3-esm1.md) | May 5, 2026 |
| Linux | lxc Ubuntu 20.04 LTS (focal) | 1:4.0.12-0ubuntu1~20.04.1+esm1 | [lxc 1:4.0.12-0ubuntu1~20.04.1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-lxc-1-4.0.12-0ubuntu1-20.04.1-esm1.md) | May 5, 2026 |
| Linux | lxc Ubuntu 22.04.1 LTS (jammy) | 1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1+esm1 | [lxc 1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-lxc-1-5.0.0-git2209-g5a7b9ce67-0ubuntu1.1-esm1.md) | May 5, 2026 |
| Linux | lxc Ubuntu 24.04.5 LTS (noble) | 1:5.0.3-2ubuntu7.3+esm1 | [lxc 1:5.0.3-2ubuntu7.3+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-lxc-1-5.0.3-2ubuntu7.3-esm1.md) | May 5, 2026 |
| Linux | lxc opensuse-leap 15.6 | 6.0.2-bp156.2.3.1 | [OPENSUSE-SU-2024:0342-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2024-0342-1.md) | Oct 30, 2024 |
| Linux | lxc-tests Ubuntu 24.04.5 LTS (noble) | 1:5.0.3-2ubuntu7.3+esm1 | [lxc-tests 1:5.0.3-2ubuntu7.3+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-lxc-tests-1-5.0.3-2ubuntu7.3-esm1.md) | May 5, 2026 |
| Linux | lxc-utils Ubuntu 18.04.6 LTS (bionic) | 3.0.3-0ubuntu1~18.04.3+esm1 | [lxc-utils 3.0.3-0ubuntu1~18.04.3+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-lxc-utils-3.0.3-0ubuntu1-18.04.3-esm1.md) | May 5, 2026 |
| Linux | lxc-utils Ubuntu 20.04 LTS (focal) | 1:4.0.12-0ubuntu1~20.04.1+esm1 | [lxc-utils 1:4.0.12-0ubuntu1~20.04.1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-lxc-utils-1-4.0.12-0ubuntu1-20.04.1-esm1.md) | May 5, 2026 |
| Linux | lxc-utils Ubuntu 22.04.1 LTS (jammy) | 1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1+esm1 | [lxc-utils 1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-lxc-utils-1-5.0.0-git2209-g5a7b9ce67-0ubuntu1.1-esm1.md) | May 5, 2026 |
| Linux | lxc-utils Ubuntu 24.04.5 LTS (noble) | 1:5.0.3-2ubuntu7.3+esm1 | [lxc-utils 1:5.0.3-2ubuntu7.3+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-lxc-utils-1-5.0.3-2ubuntu7.3-esm1.md) | May 5, 2026 |
| Linux | lxc1 Ubuntu 18.04.6 LTS (bionic) | 3.0.3-0ubuntu1~18.04.3+esm1 | [lxc1 3.0.3-0ubuntu1~18.04.3+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-lxc1-3.0.3-0ubuntu1-18.04.3-esm1.md) | May 5, 2026 |
| Linux | lxc1 Ubuntu 20.04 LTS (focal) | 1:4.0.12-0ubuntu1~20.04.1+esm1 | [lxc1 1:4.0.12-0ubuntu1~20.04.1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-lxc1-1-4.0.12-0ubuntu1-20.04.1-esm1.md) | May 5, 2026 |
| Linux | lxc1 Ubuntu 22.04.1 LTS (jammy) | 1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1+esm1 | [lxc1 1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-lxc1-1-5.0.0-git2209-g5a7b9ce67-0ubuntu1.1-esm1.md) | May 5, 2026 |
| Linux | lxc1 Ubuntu 24.04.5 LTS (noble) | 1:5.0.3-2ubuntu7.3+esm1 | [lxc1 1:5.0.3-2ubuntu7.3+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-lxc1-1-5.0.3-2ubuntu7.3-esm1.md) | May 5, 2026 |

---

Data as of 2026-11-08T00:53:09Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
