CVE-2022-47952
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.
EPSS 2.32% · 85.1th percentile
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| linuxcontainers | lxc | 0 |
| n/a | n/a | * |
Timeline
- Jan 1, 2023 CVE Published
- Jan 1, 2023 EPSS Score
- Feb 11, 2023 EPSS Score
- Mar 24, 2023 EPSS Score
- May 4, 2023 EPSS Score
- Jul 26, 2023 EPSS Score
- Sep 5, 2023 EPSS Score
- Nov 26, 2023 EPSS Score
- Jan 6, 2024 EPSS Score
- Mar 29, 2024 EPSS Score
- May 9, 2024 EPSS Score
- Jun 19, 2024 EPSS Score
References
- https://github.com/lxc/lxc/blob/0b83d71c2c8f3bac9503f894cd84584f79258bb3/lxc.spec.in#L274 url
- https://github.com/lxc/lxc/blob/0b83d71c2c8f3bac9503f894cd84584f79258bb3/src/lxc/cmd/lxc_user_nic.c#L1085-L1104 url
- https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1783591/comments/45 url
- https://github.com/MaherAzzouzi/CVE-2022-47952 url
- [debian-lts-announce] 20230821 [SECURITY] [DLA 3533-1] lxc security update mailing-list
- https://nvd.nist.gov/vuln/detail/CVE-2022-47952 advisory