CVE-2022-47952: Low severity linuxcontainers Lxc vulnerability

Published Jan 1, 2023
·
Updated

Last updated 28 September 2026

Other sources

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 Software

16 affected componentsFixes available
linuxcontainers Lxc<=5.0.1
debian/lxc<1:5.0.2-1
1:5.0.2-1
debian/lxc<1:5.0.2-1
1:5.0.2-1
debian/lxc<1:5.0.2-1
1:5.0.2-1
alpine/lxc<4.0.10-r2
4.0.10-r2
alpine/lxc<4.0.12-r2
4.0.12-r2
alpine/lxc<4.0.12-r2
4.0.12-r2
alpine/lxc<5.0.1-r2
5.0.1-r2
alpine/lxc<5.0.1-r2
5.0.1-r2
alpine/lxc<5.0.1-r2
5.0.1-r2
alpine/lxc<5.0.1-r2
5.0.1-r2
alpine/lxc<5.0.1-r2
5.0.1-r2
alpine/lxc<5.0.1-r2
5.0.1-r2
alpine/lxc<5.0.1-r2
5.0.1-r2
alpine/lxc<5.0.1-r2
5.0.1-r2
debian/lxc
1:3.1.0+really3.0.3-8+deb10u11:4.0.6-2+deb11u21:5.0.2-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/lxc to a version that resolves this vulnerability.

    Fixed in 1:5.0.2-1
  2. Upgrade

    Upgrade alpine/lxc to a version that resolves this vulnerability.

    Fixed in 4.0.10-r2
  3. Upgrade

    Upgrade alpine/lxc to a version that resolves this vulnerability.

    Fixed in 4.0.12-r2
  4. Upgrade

    Upgrade alpine/lxc to a version that resolves this vulnerability.

    Fixed in 5.0.1-r2
  5. Upgrade

    Upgrade debian/lxc to a version that resolves this vulnerability.

    Fixed in 1:3.1.0+really3.0.3-8+deb10u1Fixed in 1:4.0.6-2+deb11u2Fixed in 1:5.0.2-1

Event History

Dec 31, 2022
Exploit Published
via GitHub·09:24 PM
Jan 1, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
06:15 AM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·06:15 AM
DescriptionAffected Software
Data Sourced
via Red Hat·04:28 PM
DescriptionSeverityAffected Software
Nov 21, 2024
Data Sourced
via NVD·07:32 AM
DescriptionSeverityWeaknessAffected Software
Nov 3, 2026
Data Sourced
via OSV·08:01 AM
Severity

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is CVE-2022-47952?

CVE-2022-47952 is a vulnerability in lxc through version 5.0.1 that allows local users to infer whether any file exists, even within a protected directory tree.

2

How severe is CVE-2022-47952?

CVE-2022-47952 has a severity rating of low (3.3).

3

What software is affected by CVE-2022-47952?

The affected software is Linuxcontainers Lxc up to version 5.0.1.

4

How can local users exploit CVE-2022-47952?

Local users can exploit CVE-2022-47952 by inferring the existence of files within a protected directory tree.

5

Are there any known fixes or patches for CVE-2022-47952?

At the moment, there are no known fixes or patches for CVE-2022-47952. It is recommended to monitor the vendor's website and apply any updates or patches as they become available.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203