Vulnerability · Published Jan 1, 2023 · Assigned by mitre

CVE-2022-47952

Low 3.3

In plain English

A low-severity security flaw in the lxc package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 54% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)3.3Low
Exploit odds (30 days)0.7%top 45.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC

Official description

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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20lxc5.0.1-r2ALPINE-CVE-2022-47952
Alpine:v3.21lxc5.0.1-r2ALPINE-CVE-2022-47952
Alpine:v3.22lxc5.0.1-r2ALPINE-CVE-2022-47952
Alpine:v3.23lxc5.0.1-r2ALPINE-CVE-2022-47952
Alpine:v3.24lxc5.0.1-r2ALPINE-CVE-2022-47952
Debian:12lxc1:5.0.2-1DEBIAN-CVE-2022-47952
Debian:13lxc1:5.0.2-1DEBIAN-CVE-2022-47952
Debian:14lxc1:5.0.2-1DEBIAN-CVE-2022-47952

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-203 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

References