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
lxc-help
lxc-debuginfo
lxc-debugsource
lxc-libs
lxc-devel
Ubuntu
openEuler
lxc (Ubuntu package)
lxc
lxc-help
lxc-debuginfo
lxc-debugsource
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, 1:6.0.6-1ubuntu1+esm1
lxc - update to 4.0.3-2022102408
lxc-help - update to 4.0.3-2022102408
lxc-debuginfo - update to 4.0.3-2022102408
lxc-debugsource - update to 4.0.3-2022102408
lxc-libs - update to 4.0.3-2022102408
lxc-devel - update to 4.0.3-2022102408
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, 1:6.0.6-1ubuntu1+esm1
lxc - update to 4.0.3-2022102408
lxc-help - update to 4.0.3-2022102408
lxc-debuginfo - update to 4.0.3-2022102408
lxc-debugsource - update to 4.0.3-2022102408
lxc-libs - update to 4.0.3-2022102408
lxc-devel - update to 4.0.3-2022102408
External References
- https://github.com/MaherAzzouzi/CVE-2022-47952
- https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1783591/comments/45
- 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