UBUNTU-CVE-2022-47952

Source
https://ubuntu.com/security/CVE-2022-47952
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-47952.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2022-47952
Upstream
Downstream
Related
Published
2023-01-01T06:15:00Z
Modified
2026-09-28T11:30:24Z
Severity
  • 3.3 (Low) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
  • 3.3 (Low) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
  • Ubuntu - low
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:Pro:18.04:LTS / lxc

Package

Name
lxc
Purl
pkg:deb/ubuntu/lxc?arch=source&distro=esm-infra%2Fbionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.0.3-0ubuntu1~18.04.3+esm1

Affected versions

2.*
2.1.0-0ubuntu1
2.1.1-0ubuntu1
3.*
3.0.0~beta1-0ubuntu3
3.0.0~beta2-0ubuntu2
3.0.0~beta3-0ubuntu1
3.0.0~beta4-0ubuntu1
3.0.0-0ubuntu1
3.0.0-0ubuntu2
3.0.1-0ubuntu1~18.04.1
3.0.1-0ubuntu1~18.04.2
3.0.2-0ubuntu1~18.04.1
3.0.3-0ubuntu1~18.04.1
3.0.3-0ubuntu1~18.04.3

Ecosystem specific

{
    "availability":  "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "binaries":  [
        {
            "binary_name":  "liblxc-common",
            "binary_version":  "3.0.3-0ubuntu1~18.04.3+esm1"
        },
        {
            "binary_name":  "liblxc1",
            "binary_version":  "3.0.3-0ubuntu1~18.04.3+esm1"
        },
        {
            "binary_name":  "libpam-cgfs",
            "binary_version":  "3.0.3-0ubuntu1~18.04.3+esm1"
        },
        {
            "binary_name":  "lxc",
            "binary_version":  "3.0.3-0ubuntu1~18.04.3+esm1"
        },
        {
            "binary_name":  "lxc-utils",
            "binary_version":  "3.0.3-0ubuntu1~18.04.3+esm1"
        },
        {
            "binary_name":  "lxc1",
            "binary_version":  "3.0.3-0ubuntu1~18.04.3+esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-47952.json"

Ubuntu:Pro:20.04:LTS / lxc

Package

Name
lxc
Purl
pkg:deb/ubuntu/lxc?arch=source&distro=esm-apps%2Ffocal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1:4.0.12-0ubuntu1~20.04.1+esm1

Affected versions

3.*
3.0.4-0ubuntu1
3.0.4-0ubuntu2
1:4.*
1:4.0.0-0ubuntu2
1:4.0.1-0ubuntu1
1:4.0.1-0ubuntu2
1:4.0.2-0ubuntu1
1:4.0.6-0ubuntu1~20.04.1
1:4.0.12-0ubuntu1~20.04.1

Ecosystem specific

{
    "availability":  "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries":  [
        {
            "binary_name":  "liblxc-common",
            "binary_version":  "1:4.0.12-0ubuntu1~20.04.1+esm1"
        },
        {
            "binary_name":  "liblxc1",
            "binary_version":  "1:4.0.12-0ubuntu1~20.04.1+esm1"
        },
        {
            "binary_name":  "libpam-cgfs",
            "binary_version":  "1:4.0.12-0ubuntu1~20.04.1+esm1"
        },
        {
            "binary_name":  "lxc",
            "binary_version":  "1:4.0.12-0ubuntu1~20.04.1+esm1"
        },
        {
            "binary_name":  "lxc-utils",
            "binary_version":  "1:4.0.12-0ubuntu1~20.04.1+esm1"
        },
        {
            "binary_name":  "lxc1",
            "binary_version":  "1:4.0.12-0ubuntu1~20.04.1+esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-47952.json"

Ubuntu:Pro:22.04:LTS / lxc

Package

Name
lxc
Purl
pkg:deb/ubuntu/lxc?arch=source&distro=esm-apps%2Fjammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1+esm1

Affected versions

1:4.*
1:4.0.10-0ubuntu5
1:4.0.12-0ubuntu1
1:4.0.12-0ubuntu2
1:5.*
1:5.0.0~git2209-g5a7b9ce67-0ubuntu1
1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1

Ecosystem specific

{
    "availability":  "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries":  [
        {
            "binary_name":  "liblxc-common",
            "binary_version":  "1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1+esm1"
        },
        {
            "binary_name":  "liblxc1",
            "binary_version":  "1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1+esm1"
        },
        {
            "binary_name":  "libpam-cgfs",
            "binary_version":  "1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1+esm1"
        },
        {
            "binary_name":  "lxc",
            "binary_version":  "1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1+esm1"
        },
        {
            "binary_name":  "lxc-utils",
            "binary_version":  "1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1+esm1"
        },
        {
            "binary_name":  "lxc1",
            "binary_version":  "1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1+esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-47952.json"

Ubuntu:Pro:24.04:LTS / lxc

Package

Name
lxc
Purl
pkg:deb/ubuntu/lxc?arch=source&distro=esm-apps%2Fnoble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1:5.0.3-2ubuntu7.3+esm1

Affected versions

1:5.*
1:5.0.1-0ubuntu7
1:5.0.1-0ubuntu8
1:5.0.3-2ubuntu5
1:5.0.3-2ubuntu7
1:5.0.3-2ubuntu7.1
1:5.0.3-2ubuntu7.2
1:5.0.3-2ubuntu7.3

Ecosystem specific

{
    "availability":  "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries":  [
        {
            "binary_name":  "liblxc-common",
            "binary_version":  "1:5.0.3-2ubuntu7.3+esm1"
        },
        {
            "binary_name":  "liblxc1t64",
            "binary_version":  "1:5.0.3-2ubuntu7.3+esm1"
        },
        {
            "binary_name":  "libpam-cgfs",
            "binary_version":  "1:5.0.3-2ubuntu7.3+esm1"
        },
        {
            "binary_name":  "lxc",
            "binary_version":  "1:5.0.3-2ubuntu7.3+esm1"
        },
        {
            "binary_name":  "lxc-tests",
            "binary_version":  "1:5.0.3-2ubuntu7.3+esm1"
        },
        {
            "binary_name":  "lxc-utils",
            "binary_version":  "1:5.0.3-2ubuntu7.3+esm1"
        },
        {
            "binary_name":  "lxc1",
            "binary_version":  "1:5.0.3-2ubuntu7.3+esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-47952.json"