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
openEuler
lxc-devel
lxc-help
lxc-debuginfo
lxc-debugsource
lxc-libs
lxc
openEuler
lxc-devel
lxc-help
lxc-debuginfo
lxc-debugsource
lxc-libs
lxc
How to mitigate CVE-2022-47952
Install updates from vendor's website.
LXC - update to 5.0.2
lxc-devel - 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 - update to 4.0.3-2022102408
lxc-devel - 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 - 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