CVEfocus › CVE database › CVE-2022-47952

CVE-2022-47952

CVSS 3.3 LowEPSS 0.5% (higher than 38% of CVEs)Published 2023-01-01Updated 2025-04-10Assigner: mitre

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.

CWE-203

What to do

Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

14Fixed
6Fix pending
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 25.10lxcNot affected
vulnerable_code_not_present
Ubuntu 24.04lxcFix pending1:5.0.3-2ubuntu7.3+esm1 (Ubuntu Pro)UBUNTU-CVE-2022-47952
Ubuntu 22.04lxcFix pending1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1+esm1 (Ubuntu Pro)UBUNTU-CVE-2022-47952
Ubuntu 20.04lxcFix pending1:4.0.12-0ubuntu1~20.04.1+esm1 (Ubuntu Pro)UBUNTU-CVE-2022-47952
Ubuntu 18.04lxcFix pending3.0.3-0ubuntu1~18.04.3+esm1 (Ubuntu Pro)UBUNTU-CVE-2022-47952
Ubuntu 16.04lxcFix pending
Ubuntu 14.04lxcFix pending
Debian 14lxcFixed1:5.0.2-1DEBIAN-CVE-2022-47952
Debian 13lxcFixed1:5.0.2-1DEBIAN-CVE-2022-47952
Debian 12lxcFixed1:5.0.2-1DEBIAN-CVE-2022-47952
Alpine Linux 3.24lxcFixed5.0.1-r2ALPINE-CVE-2022-47952
Alpine Linux 3.23lxcFixed5.0.1-r2ALPINE-CVE-2022-47952
Alpine Linux 3.22lxcFixed5.0.1-r2ALPINE-CVE-2022-47952
Alpine Linux 3.21lxcFixed5.0.1-r2ALPINE-CVE-2022-47952
Alpine Linux 3.20lxcFixed5.0.1-r2ALPINE-CVE-2022-47952
Alpine Linux 3.19lxcFixed5.0.1-r2ALPINE-CVE-2022-47952
Alpine Linux 3.18lxcFixed5.0.1-r2ALPINE-CVE-2022-47952
Alpine Linux 3.17lxcFixed5.0.1-r2ALPINE-CVE-2022-47952
Alpine Linux 3.16lxcFixed4.0.12-r2ALPINE-CVE-2022-47952
Alpine Linux 3.15lxcFixed4.0.12-r2ALPINE-CVE-2022-47952
Alpine Linux 3.14lxcFixed4.0.10-r2ALPINE-CVE-2022-47952

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.