Skip to content
Heist/ feed
UnratedFix available

UBUNTU-CVE-2022-47952

Type: advisorySource: OSV1 source record

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.

Announced Group revision 1
Original source ↗

UBUNTU-CVE-2022-47952

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:UBUNTU-CVE-2022-47952

lxc

Source reference: /affected/0/package/name

Affected versions
2.1.0-0ubuntu1

Source reference: /affected/0/versions

2.1.1-0ubuntu1

Source reference: /affected/0/versions

3.0.0~beta1-0ubuntu3

Source reference: /affected/0/versions

3.0.0~beta2-0ubuntu2

Source reference: /affected/0/versions

3.0.0~beta3-0ubuntu1

Source reference: /affected/0/versions

3.0.0~beta4-0ubuntu1

Source reference: /affected/0/versions

3.0.0-0ubuntu1

Source reference: /affected/0/versions

3.0.0-0ubuntu2

Source reference: /affected/0/versions

3.0.1-0ubuntu1~18.04.1

Source reference: /affected/0/versions

3.0.1-0ubuntu1~18.04.2

Source reference: /affected/0/versions

3.0.2-0ubuntu1~18.04.1

Source reference: /affected/0/versions

3.0.3-0ubuntu1~18.04.1

Source reference: /affected/0/versions

3.0.3-0ubuntu1~18.04.3

Source reference: /affected/0/versions

Fixed versions
3.0.3-0ubuntu1~18.04.3+esm1

Source reference: /affected/0/ranges

Prerequisites
Not stated in this record

lxc

Source reference: /affected/1/package/name

Affected versions
3.0.4-0ubuntu1

Source reference: /affected/1/versions

3.0.4-0ubuntu2

Source reference: /affected/1/versions

1:4.0.0-0ubuntu2

Source reference: /affected/1/versions

1:4.0.1-0ubuntu1

Source reference: /affected/1/versions

1:4.0.1-0ubuntu2

Source reference: /affected/1/versions

1:4.0.2-0ubuntu1

Source reference: /affected/1/versions

1:4.0.6-0ubuntu1~20.04.1

Source reference: /affected/1/versions

1:4.0.12-0ubuntu1~20.04.1

Source reference: /affected/1/versions

Fixed versions
1:4.0.12-0ubuntu1~20.04.1+esm1

Source reference: /affected/1/ranges

Prerequisites
Not stated in this record

lxc

Source reference: /affected/2/package/name

Affected versions
1:4.0.10-0ubuntu5

Source reference: /affected/2/versions

1:4.0.12-0ubuntu1

Source reference: /affected/2/versions

1:4.0.12-0ubuntu2

Source reference: /affected/2/versions

1:5.0.0~git2209-g5a7b9ce67-0ubuntu1

Source reference: /affected/2/versions

1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1

Source reference: /affected/2/versions

Fixed versions
1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1+esm1

Source reference: /affected/2/ranges

Prerequisites
Not stated in this record

lxc

Source reference: /affected/3/package/name

Affected versions
1:5.0.1-0ubuntu7

Source reference: /affected/3/versions

1:5.0.1-0ubuntu8

Source reference: /affected/3/versions

1:5.0.3-2ubuntu5

Source reference: /affected/3/versions

1:5.0.3-2ubuntu7

Source reference: /affected/3/versions

1:5.0.3-2ubuntu7.1

Source reference: /affected/3/versions

1:5.0.3-2ubuntu7.2

Source reference: /affected/3/versions

1:5.0.3-2ubuntu7.3

Source reference: /affected/3/versions

Fixed versions
1:5.0.3-2ubuntu7.3+esm1

Source reference: /affected/3/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "3.0.3-0ubuntu1~18.04.3+esm1"
          }
        ]
      }
    ],
    "package": {
      "name": "lxc",
      "purl": "pkg:deb/ubuntu/lxc?arch=source&distro=esm-infra%2Fbionic",
      "ecosystem": "Ubuntu:Pro:18.04:LTS"
    },
    "versions": [
      "2.1.0-0ubuntu1",
      "2.1.1-0ubuntu1",
      "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"
    ],
    "database_specific": {
      "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-47952.json"
    },
    "ecosystem_specific": {
      "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"
        }
      ],
      "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "1:4.0.12-0ubuntu1~20.04.1+esm1"
          }
        ]
      }
    ],
    "package": {
      "name": "lxc",
      "purl": "pkg:deb/ubuntu/lxc?arch=source&distro=esm-apps%2Ffocal",
      "ecosystem": "Ubuntu:Pro:20.04:LTS"
    },
    "versions": [
      "3.0.4-0ubuntu1",
      "3.0.4-0ubuntu2",
      "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"
    ],
    "database_specific": {
      "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-47952.json"
    },
    "ecosystem_specific": {
      "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"
        }
      ],
      "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1+esm1"
          }
        ]
      }
    ],
    "package": {
      "name": "lxc",
      "purl": "pkg:deb/ubuntu/lxc?arch=source&distro=esm-apps%2Fjammy",
      "ecosystem": "Ubuntu:Pro:22.04:LTS"
    },
    "versions": [
      "1:4.0.10-0ubuntu5",
      "1:4.0.12-0ubuntu1",
      "1:4.0.12-0ubuntu2",
      "1:5.0.0~git2209-g5a7b9ce67-0ubuntu1",
      "1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1"
    ],
    "database_specific": {
      "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-47952.json"
    },
    "ecosystem_specific": {
      "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"
        }
      ],
      "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "1:5.0.3-2ubuntu7.3+esm1"
          }
        ]
      }
    ],
    "package": {
      "name": "lxc",
      "purl": "pkg:deb/ubuntu/lxc?arch=source&distro=esm-apps%2Fnoble",
      "ecosystem": "Ubuntu:Pro:24.04:LTS"
    },
    "versions": [
      "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"
    ],
    "database_specific": {
      "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-47952.json"
    },
    "ecosystem_specific": {
      "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"
        }
      ],
      "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#22392 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement