USN-6940-1

See a problem?
Source
https://ubuntu.com/security/notices/USN-6940-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6940-1.json
JSON Data
https://api.osv.dev/v1/vulns/USN-6940-1
Related
Published
2024-08-01T06:35:51.438019Z
Modified
2024-08-01T06:35:51.438019Z
Summary
snapd vulnerabilities
Details

Neil McPhail discovered that snapd did not properly restrict writes to the $HOME/bin path in the AppArmor profile for snaps using the home plug. An attacker who could convince a user to install a malicious snap could use this vulnerability to escape the snap sandbox. (CVE-2024-1724)

Zeyad Gouda discovered that snapd failed to properly check the file type when extracting a snap. An attacker who could convince a user to install a malicious snap containing non-regular files could then cause snapd to block indefinitely while trying to read from such files and cause a denial of service. (CVE-2024-29068)

Zeyad Gouda discovered that snapd failed to properly check the destination of symbolic links when extracting a snap. An attacker who could convince a user to install a malicious snap containing crafted symbolic links could then cause snapd to write out the contents of the symbolic link destination into a world-readable directory. This in-turn could allow a local unprivileged user to gain access to privileged information. (CVE-2024-29069)

References

Affected packages

Ubuntu:20.04:LTS / snapd

Package

Name
snapd
Purl
pkg:deb/ubuntu/snapd@2.63+20.04ubuntu0.1?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.63+20.04ubuntu0.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
2.54.3+20.04.1
2.54.3+20.04.1ubuntu0.1
2.54.3+20.04.1ubuntu0.2
2.54.3+20.04.1ubuntu0.3
2.55.5+20.04
2.57.5+20.04
2.57.5+20.04ubuntu0.1
2.58+20.04
2.58+20.04.1
2.61.3+20.04
2.62+20.04
2.63+20.04

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "snapd-dbgsym": "2.63+20.04ubuntu0.1",
            "ubuntu-snappy": "2.63+20.04ubuntu0.1",
            "snapd": "2.63+20.04ubuntu0.1",
            "snapd-xdg-open": "2.63+20.04ubuntu0.1",
            "snap-confine": "2.63+20.04ubuntu0.1",
            "ubuntu-core-launcher": "2.63+20.04ubuntu0.1",
            "ubuntu-core-snapd-units": "2.63+20.04ubuntu0.1",
            "golang-github-snapcore-snapd-dev": "2.63+20.04ubuntu0.1",
            "ubuntu-snappy-cli": "2.63+20.04ubuntu0.1",
            "golang-github-ubuntu-core-snappy-dev": "2.63+20.04ubuntu0.1"
        }
    ]
}

Ubuntu:22.04:LTS / snapd

Package

Name
snapd
Purl
pkg:deb/ubuntu/snapd@2.63+22.04ubuntu0.1?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.63+22.04ubuntu0.1

Affected versions

2.*

2.53+21.10ubuntu1
2.54.2+22.04ubuntu1
2.54.2+22.04ubuntu2
2.54.2+22.04ubuntu3
2.54.3+git19.g868fc21+22.04
2.54.3+git26.g360067e+22.04
2.55.2+22.04
2.55.2+22.04.1
2.55.3+22.04
2.55.3+22.04ubuntu1
2.55.5+22.04
2.56.2+22.04ubuntu1
2.57.4+22.04
2.57.5+22.04
2.57.5+22.04ubuntu0.1
2.58+22.04
2.58+22.04.1
2.61.3+22.04
2.62+22.04
2.63+22.04

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "snapd-dbgsym": "2.63+22.04ubuntu0.1",
            "ubuntu-snappy": "2.63+22.04ubuntu0.1",
            "snapd": "2.63+22.04ubuntu0.1",
            "snapd-xdg-open": "2.63+22.04ubuntu0.1",
            "snap-confine": "2.63+22.04ubuntu0.1",
            "ubuntu-core-launcher": "2.63+22.04ubuntu0.1",
            "ubuntu-core-snapd-units": "2.63+22.04ubuntu0.1",
            "golang-github-snapcore-snapd-dev": "2.63+22.04ubuntu0.1",
            "ubuntu-snappy-cli": "2.63+22.04ubuntu0.1",
            "golang-github-ubuntu-core-snappy-dev": "2.63+22.04ubuntu0.1"
        }
    ]
}

Ubuntu:24.04:LTS / snapd

Package

Name
snapd
Purl
pkg:deb/ubuntu/snapd@2.63+24.04ubuntu0.1?arch=src?distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.63+24.04ubuntu0.1

Affected versions

2.*

2.60.4+23.10
2.61.3+24.04
2.62+24.04build1
2.63+24.04

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "snapd-dbgsym": "2.63+24.04ubuntu0.1",
            "ubuntu-snappy": "2.63+24.04ubuntu0.1",
            "snapd": "2.63+24.04ubuntu0.1",
            "snapd-xdg-open": "2.63+24.04ubuntu0.1",
            "snap-confine": "2.63+24.04ubuntu0.1",
            "ubuntu-core-launcher": "2.63+24.04ubuntu0.1",
            "ubuntu-core-snapd-units": "2.63+24.04ubuntu0.1",
            "golang-github-snapcore-snapd-dev": "2.63+24.04ubuntu0.1",
            "ubuntu-snappy-cli": "2.63+24.04ubuntu0.1",
            "golang-github-ubuntu-core-snappy-dev": "2.63+24.04ubuntu0.1"
        }
    ]
}