USN-5292-2

Source
https://ubuntu.com/security/notices/USN-5292-2
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5292-2.json
JSON Data
https://api.osv.dev/v1/vulns/USN-5292-2
Related
Published
2022-02-18T01:07:38.514473Z
Modified
2022-02-18T01:07:38.514473Z
Summary
snapd vulnerabilities
Details

USN-5292-1 fixed vulnerabilities in snapd. This update provides the corresponding update for the riscv64 architecture.

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
Purl
pkg:deb/ubuntu/snapd?arch=src?distro=focal

Affected ranges

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

Affected versions

2.*

2.41+19.10.1
2.42.1+20.04
2.43.3+git1.8109f8
2.44~pre1+20.04
2.44+20.04
2.44.2+20.04
2.44.3+20.04
2.45.1+20.04
2.45.1+20.04.2
2.46.1+20.04
2.47.1+20.04
2.48+20.04
2.48.3+20.04
2.49.2+20.04
2.51.1+20.04ubuntu2
2.54.2+20.04ubuntu2
2.54.3+20.04

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "2.54.3+20.04.1",
            "binary_name": "golang-github-snapcore-snapd-dev"
        },
        {
            "binary_version": "2.54.3+20.04.1",
            "binary_name": "golang-github-ubuntu-core-snappy-dev"
        },
        {
            "binary_version": "2.54.3+20.04.1",
            "binary_name": "snap-confine"
        },
        {
            "binary_version": "2.54.3+20.04.1",
            "binary_name": "snapd"
        },
        {
            "binary_version": "2.54.3+20.04.1",
            "binary_name": "snapd-dbgsym"
        },
        {
            "binary_version": "2.54.3+20.04.1",
            "binary_name": "snapd-xdg-open"
        },
        {
            "binary_version": "2.54.3+20.04.1",
            "binary_name": "ubuntu-core-launcher"
        },
        {
            "binary_version": "2.54.3+20.04.1",
            "binary_name": "ubuntu-core-snapd-units"
        },
        {
            "binary_version": "2.54.3+20.04.1",
            "binary_name": "ubuntu-snappy"
        },
        {
            "binary_version": "2.54.3+20.04.1",
            "binary_name": "ubuntu-snappy-cli"
        }
    ]
}