USN-5292-4

See a problem?
Source
https://ubuntu.com/security/notices/USN-5292-4
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/USN-5292-4.json
JSON Data
https://api.osv.dev/v1/vulns/USN-5292-4
Published
2022-02-24T13:23:26.889369Z
Modified
2022-02-24T13:23:26.889369Z
Summary
snapd regression
Details

USN-5292-1 fixed a vulnerability in snapd. Unfortunately that update introduced a regression that could break the fish shell. This update fixes the problem.

We apologize for the inconvenience.

Original advisory details:

James Troup discovered that snap did not properly manage the permissions for the snap directories. A local attacker could possibly use this issue to expose sensitive information. (CVE-2021-3155)

Ian Johnson discovered that snapd did not properly validate content interfaces and layout paths. A local attacker could possibly use this issue to inject arbitrary AppArmor policy rules, resulting in a bypass of intended access restrictions. (CVE-2021-4120)

The Qualys Research Team discovered that snapd did not properly validate the location of the snap-confine binary. A local attacker could possibly use this issue to execute other arbitrary binaries and escalate privileges. (CVE-2021-44730)

The Qualys Research Team discovered that a race condition existed in the snapd snap-confine binary when preparing a private mount namespace for a snap. A local attacker could possibly use this issue to escalate privileges and execute arbitrary code. (CVE-2021-44731)

References

Affected packages

Ubuntu:20.04:LTS / snapd

Package

Name
snapd

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.54.3+20.04.1ubuntu0.2

Ecosystem specific

{
    "availability": "No subscription needed",
    "binaries": [
        {
            "snap-confine": "2.54.3+20.04.1ubuntu0.2",
            "ubuntu-snappy": "2.54.3+20.04.1ubuntu0.2",
            "snapd-xdg-open": "2.54.3+20.04.1ubuntu0.2",
            "snapd": "2.54.3+20.04.1ubuntu0.2",
            "ubuntu-core-launcher": "2.54.3+20.04.1ubuntu0.2",
            "ubuntu-core-snapd-units": "2.54.3+20.04.1ubuntu0.2",
            "golang-github-snapcore-snapd-dev": "2.54.3+20.04.1ubuntu0.2",
            "ubuntu-snappy-cli": "2.54.3+20.04.1ubuntu0.2",
            "golang-github-ubuntu-core-snappy-dev": "2.54.3+20.04.1ubuntu0.2"
        }
    ]
}

Ubuntu:Pro:14.04:LTS / snapd

Package

Name
snapd

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.54.3+14.04.0ubuntu0.1~esm3

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "snap-confine": "2.54.3+14.04.0ubuntu0.1~esm3",
            "ubuntu-snappy": "2.54.3+14.04.0ubuntu0.1~esm3",
            "snapd-xdg-open": "2.54.3+14.04.0ubuntu0.1~esm3",
            "snapd": "2.54.3+14.04.0ubuntu0.1~esm3",
            "ubuntu-core-launcher": "2.54.3+14.04.0ubuntu0.1~esm3",
            "ubuntu-core-snapd-units": "2.54.3+14.04.0ubuntu0.1~esm3",
            "golang-github-snapcore-snapd-dev": "2.54.3+14.04.0ubuntu0.1~esm3",
            "ubuntu-snappy-cli": "2.54.3+14.04.0ubuntu0.1~esm3",
            "golang-github-ubuntu-core-snappy-dev": "2.54.3+14.04.0ubuntu0.1~esm3"
        }
    ]
}

Ubuntu:18.04:LTS / snapd

Package

Name
snapd

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.54.3+18.04.2ubuntu0.2

Ecosystem specific

{
    "availability": "No subscription needed",
    "binaries": [
        {
            "snap-confine": "2.54.3+18.04.2ubuntu0.2",
            "ubuntu-snappy": "2.54.3+18.04.2ubuntu0.2",
            "snapd-xdg-open": "2.54.3+18.04.2ubuntu0.2",
            "snapd": "2.54.3+18.04.2ubuntu0.2",
            "ubuntu-core-launcher": "2.54.3+18.04.2ubuntu0.2",
            "ubuntu-core-snapd-units": "2.54.3+18.04.2ubuntu0.2",
            "golang-github-snapcore-snapd-dev": "2.54.3+18.04.2ubuntu0.2",
            "ubuntu-snappy-cli": "2.54.3+18.04.2ubuntu0.2",
            "golang-github-ubuntu-core-snappy-dev": "2.54.3+18.04.2ubuntu0.2"
        }
    ]
}

Ubuntu:Pro:16.04:LTS / snapd

Package

Name
snapd

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.54.3+16.04.0ubuntu0.1~esm4

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "snap-confine": "2.54.3+16.04.0ubuntu0.1~esm4",
            "ubuntu-snappy": "2.54.3+16.04.0ubuntu0.1~esm4",
            "snapd-xdg-open": "2.54.3+16.04.0ubuntu0.1~esm4",
            "snapd": "2.54.3+16.04.0ubuntu0.1~esm4",
            "ubuntu-core-launcher": "2.54.3+16.04.0ubuntu0.1~esm4",
            "ubuntu-core-snapd-units": "2.54.3+16.04.0ubuntu0.1~esm4",
            "golang-github-snapcore-snapd-dev": "2.54.3+16.04.0ubuntu0.1~esm4",
            "ubuntu-snappy-cli": "2.54.3+16.04.0ubuntu0.1~esm4",
            "golang-github-ubuntu-core-snappy-dev": "2.54.3+16.04.0ubuntu0.1~esm4"
        }
    ]
}