CVE-2022-47952 in Linuxcontainers Lxc
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....
Affects 1 product from 1 vendor. Facts below cite their sources.
Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, no integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Linuxcontainers | Lxc | ≤ 5.0.1 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2022-47952 |
|---|---|
| BreachSpider ID | BS-2023-GLOBAL-063162-L |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| Published | 2023-01-01 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-203: CWE-203
Related attack patterns (CAPEC)
CAPEC-189 Black Box Reverse Engineering via CWE-203
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
lxc-user-nic in lxc through 5.0.1 is installed setuid root and may allow local users to infer the existence of files, including those within protected directory trees, by analyzing error messages.
Local users can exploit the setuid root permission of lxc-user-nic to attempt to open files and infer their existence based on the error messages returned. The error message 'Failed to open' typically indicates the file does not exist, while 'does not refer to a network namespace path' often indicates the file exists.
Questions
What is CVE-2022-47952?
lxc-user-nic in lxc through 5.0.1 is installed setuid root and may allow local users to infer the existence of files, including those within protected directory trees, by analyzing error messages.
What is the CVSS score for CVE-2022-47952?
CVE-2022-47952 has CVSS 3.3 (Low). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N. EPSS: 0.5%.
Is CVE-2022-47952 actively exploited?
No confirmed active exploitation of CVE-2022-47952 as of 2026-09-25.
How do I remediate CVE-2022-47952?
Priority: MEDIUM. PSIRT: [email protected]
What systems are affected by CVE-2022-47952?
CVE-2022-47952 affects Linuxcontainers Lxc.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Linuxcontainers","product":"Lxc","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.