Exposure of Resource to Wrong Sphere in LXC - CVE-2022-47952

 

Exposure of Resource to Wrong Sphere in LXC - CVE-2022-47952

Published: January 24, 2023


Vulnerability identifier: #VU71474
CSH Severity: Low
CVSS v4: 4.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-47952
CWE-ID: CWE-668
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to compromise the system.

The vulnerability exists due to exposure of resource to wrong sphere in lxc-user-nic. A local user can obtain file existence information.


Affected software

LXC
Ubuntu
openEuler
lxc (Ubuntu package)
lxc-dev (Ubuntu package)
lxc-tests (Ubuntu package)
liblxc1 (Ubuntu package)
lua-lxc (Ubuntu package)
lxc-templates (Ubuntu package)
python3-lxc (Ubuntu package)
lxc1 (Ubuntu package)
lxc-common (Ubuntu package)
libpam-cgfs (Ubuntu package)
liblxc-dev (Ubuntu package)
lxc-utils (Ubuntu package)
liblxc-common (Ubuntu package)
liblxc1t64 (Ubuntu package)
lxc-debugsource
lxc
lxc-help
lxc-debuginfo
lxc-libs
lxc-devel

How to mitigate CVE-2022-47952

Install updates from vendor's website.

LXC - update to 5.0.2
lxc (Ubuntu package) - addressed in versions 2.0.11-0ubuntu1~16.04.3+esm1, 3.0.3-0ubuntu1~18.04.3+esm1, 1:4.0.12-0ubuntu1~20.04.1+esm1, 1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1+esm1, 1:5.0.3-2ubuntu7.3+esm1
lxc-dev (Ubuntu package) - addressed in versions 2.0.11-0ubuntu1~16.04.3+esm1, 3.0.3-0ubuntu1~18.04.3+esm1, 1:4.0.12-0ubuntu1~20.04.1+esm1, 1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1+esm1, 1:5.0.3-2ubuntu7.3+esm1
lxc-tests (Ubuntu package) - addressed in versions 2.0.11-0ubuntu1~16.04.3+esm1, 1:5.0.3-2ubuntu7.3+esm1
liblxc1 (Ubuntu package) - addressed in versions 2.0.11-0ubuntu1~16.04.3+esm1, 3.0.3-0ubuntu1~18.04.3+esm1, 1:4.0.12-0ubuntu1~20.04.1+esm1, 1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1+esm1
lua-lxc (Ubuntu package) - update to 2.0.11-0ubuntu1~16.04.3+esm1
lxc-templates (Ubuntu package) - update to 2.0.11-0ubuntu1~16.04.3+esm1
python3-lxc (Ubuntu package) - update to 2.0.11-0ubuntu1~16.04.3+esm1
lxc1 (Ubuntu package) - addressed in versions 2.0.11-0ubuntu1~16.04.3+esm1, 3.0.3-0ubuntu1~18.04.3+esm1, 1:4.0.12-0ubuntu1~20.04.1+esm1, 1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1+esm1, 1:5.0.3-2ubuntu7.3+esm1
lxc-common (Ubuntu package) - update to 2.0.11-0ubuntu1~16.04.3+esm1
libpam-cgfs (Ubuntu package) - addressed in versions 3.0.3-0ubuntu1~18.04.3+esm1, 1:4.0.12-0ubuntu1~20.04.1+esm1, 1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1+esm1, 1:5.0.3-2ubuntu7.3+esm1
liblxc-dev (Ubuntu package) - addressed in versions 3.0.3-0ubuntu1~18.04.3+esm1, 1:4.0.12-0ubuntu1~20.04.1+esm1, 1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1+esm1, 1:5.0.3-2ubuntu7.3+esm1
lxc-utils (Ubuntu package) - addressed in versions 3.0.3-0ubuntu1~18.04.3+esm1, 1:4.0.12-0ubuntu1~20.04.1+esm1, 1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1+esm1, 1:5.0.3-2ubuntu7.3+esm1
liblxc-common (Ubuntu package) - addressed in versions 3.0.3-0ubuntu1~18.04.3+esm1, 1:4.0.12-0ubuntu1~20.04.1+esm1, 1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1+esm1, 1:5.0.3-2ubuntu7.3+esm1
liblxc1t64 (Ubuntu package) - update to 1:5.0.3-2ubuntu7.3+esm1
lxc-debugsource - update to 4.0.3-2022102408
lxc - update to 4.0.3-2022102408
lxc-help - update to 4.0.3-2022102408
lxc-debuginfo - update to 4.0.3-2022102408
lxc-libs - update to 4.0.3-2022102408
lxc-devel - update to 4.0.3-2022102408

External References

Related Security Bulletins