Vulnerabilities · 2022 · Linuxcontainers
CVE-2022-47952
Linuxcontainers Lxc vulnerability
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.
Affected products
Lxc. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linuxcontainers Lxc runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- bugs.launchpad.net/ubuntu/+source/lxc/+bug/1783591/comments/45 · Vendor Advisory
- github.com/MaherAzzouzi/CVE-2022-47952 · Third Party Advisory
- github.com/lxc/lxc/blob/0b83d71c2c8f3bac9503f894cd84584f79258bb3/lxc.spec.in#L274 · Third Party Advisory
- github.com/lxc/lxc/blob/0b83d71c2c8f3bac9503f894cd84584f79258bb3/src/lxc/cmd/lxc_user_nic. · Third Party Advisory
- lists.debian.org/debian-lts-announce/2023/08/msg00025.html
- nvd.nist.gov/vuln/detail/CVE-2022-47952
- cve.org/CVERecord?id=CVE-2022-47952
More vulnerabilities in Linuxcontainers products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.