---
title: CVE-2022-47952
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2022-47952
---

# CVE-2022-47952

Publication date 1 January 2023

Last updated 28 September 2026

---

Ubuntu priority

**Low**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**3.3 · Low**

[Score breakdown](https://ubuntu.com/security/CVE-2022-47952#impact-score)

Toggle side navigation

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

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| lxc | 26.04 LTS resolute | Not affected |
| 25.10 questing | Not affected |
| 25.04 plucky | Not affected |
| 24.10 oracular | Not affected |
| 24.04 LTS noble | Fixed 1:5.0.3-2ubuntu7.3+esm1  Ubuntu Pro |
| 23.10 mantic | Ignored end of life, was needed |
| 23.04 lunar | Ignored end of life, was needed |
| 22.10 kinetic | Ignored end of life, was needed |
| 22.04 LTS jammy | Fixed 1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1+esm1  Ubuntu Pro |
| 20.04 LTS focal | Fixed 1:4.0.12-0ubuntu1~20.04.1+esm1  Ubuntu Pro |
| 18.04 LTS bionic | Fixed 3.0.3-0ubuntu1~18.04.3+esm1  Ubuntu Pro |
| 16.04 LTS xenial | Fixed 2.0.11-0ubuntu1~16.04.3+esm1  Ubuntu Pro |
| 14.04 LTS trusty | Not affected |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2022-47952#patch-details)

### Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

[Get Ubuntu Pro](https://ubuntu.com/pro)
[30-day free trial](https://ubuntu.com/pro/free-trial)

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| lxc | * Upstream:   [1b04695](https://github.com/lxc/lxc/commit/1b0469530d7a38b8f8990e114b52530d1bf7f3b8) |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

3.3 · Low

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Local |
  | Attack complexity | Low |
  | Privileges required | Low |
  | User interaction | None |
  | Scope | Unchanged |
  | Confidentiality impact | Low |
  | Integrity impact | None |
  | Availability impact | None |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 3.3 · Low |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-47952)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2022-47952)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2022-47952)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2022-47952)

### Related Ubuntu Security Notices (USN)

+ [USN-8826-1](https://usn.ubuntu.com/USN-8826-1)
+ LXC vulnerabilities
+ 28 September 2026

### Other references

* <https://github.com/MaherAzzouzi/CVE-2022-47952>
* <https://github.com/lxc/lxc/blob/0b83d71c2c8f3bac9503f894cd84584f79258bb3/lxc.spec.in#L274>
* <https://github.com/lxc/lxc/blob/0b83d71c2c8f3bac9503f894cd84584f79258bb3/src/lxc/cmd/lxc_user_nic.c#L1085-L1104>
* <https://www.cve.org/CVERecord?id=CVE-2022-47952>
