usn-6940-1
Vulnerability from osv_ubuntu
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)
{
"affected": [
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2024-1724",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2024-29068",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2024-29069",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:20.04:LTS"
}
},
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "golang-github-snapcore-snapd-dev",
"binary_version": "2.63+20.04ubuntu0.1"
},
{
"binary_name": "golang-github-ubuntu-core-snappy-dev",
"binary_version": "2.63+20.04ubuntu0.1"
},
{
"binary_name": "snap-confine",
"binary_version": "2.63+20.04ubuntu0.1"
},
{
"binary_name": "snapd",
"binary_version": "2.63+20.04ubuntu0.1"
},
{
"binary_name": "snapd-xdg-open",
"binary_version": "2.63+20.04ubuntu0.1"
},
{
"binary_name": "ubuntu-core-launcher",
"binary_version": "2.63+20.04ubuntu0.1"
},
{
"binary_name": "ubuntu-core-snapd-units",
"binary_version": "2.63+20.04ubuntu0.1"
},
{
"binary_name": "ubuntu-snappy",
"binary_version": "2.63+20.04ubuntu0.1"
},
{
"binary_name": "ubuntu-snappy-cli",
"binary_version": "2.63+20.04ubuntu0.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "snapd",
"purl": "pkg:deb/ubuntu/snapd@2.63+20.04ubuntu0.1?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.63+20.04ubuntu0.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"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"
]
},
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2024-1724",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2024-29068",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2024-29069",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:22.04:LTS"
}
},
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "golang-github-snapcore-snapd-dev",
"binary_version": "2.63+22.04ubuntu0.1"
},
{
"binary_name": "golang-github-ubuntu-core-snappy-dev",
"binary_version": "2.63+22.04ubuntu0.1"
},
{
"binary_name": "snap-confine",
"binary_version": "2.63+22.04ubuntu0.1"
},
{
"binary_name": "snapd",
"binary_version": "2.63+22.04ubuntu0.1"
},
{
"binary_name": "snapd-xdg-open",
"binary_version": "2.63+22.04ubuntu0.1"
},
{
"binary_name": "ubuntu-core-launcher",
"binary_version": "2.63+22.04ubuntu0.1"
},
{
"binary_name": "ubuntu-core-snapd-units",
"binary_version": "2.63+22.04ubuntu0.1"
},
{
"binary_name": "ubuntu-snappy",
"binary_version": "2.63+22.04ubuntu0.1"
},
{
"binary_name": "ubuntu-snappy-cli",
"binary_version": "2.63+22.04ubuntu0.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "snapd",
"purl": "pkg:deb/ubuntu/snapd@2.63+22.04ubuntu0.1?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.63+22.04ubuntu0.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"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"
]
},
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2024-1724",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2024-29068",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2024-29069",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:24.04:LTS"
}
},
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "golang-github-snapcore-snapd-dev",
"binary_version": "2.63+24.04ubuntu0.1"
},
{
"binary_name": "golang-github-ubuntu-core-snappy-dev",
"binary_version": "2.63+24.04ubuntu0.1"
},
{
"binary_name": "snap-confine",
"binary_version": "2.63+24.04ubuntu0.1"
},
{
"binary_name": "snapd",
"binary_version": "2.63+24.04ubuntu0.1"
},
{
"binary_name": "snapd-xdg-open",
"binary_version": "2.63+24.04ubuntu0.1"
},
{
"binary_name": "ubuntu-core-launcher",
"binary_version": "2.63+24.04ubuntu0.1"
},
{
"binary_name": "ubuntu-core-snapd-units",
"binary_version": "2.63+24.04ubuntu0.1"
},
{
"binary_name": "ubuntu-snappy",
"binary_version": "2.63+24.04ubuntu0.1"
},
{
"binary_name": "ubuntu-snappy-cli",
"binary_version": "2.63+24.04ubuntu0.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "snapd",
"purl": "pkg:deb/ubuntu/snapd@2.63+24.04ubuntu0.1?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.63+24.04ubuntu0.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.60.4+23.10",
"2.61.3+24.04",
"2.62+24.04build1",
"2.63+24.04"
]
}
],
"aliases": [],
"details": "Neil McPhail discovered that snapd did not properly restrict writes to the\n$HOME/bin path in the AppArmor profile for snaps using the home plug. An\nattacker who could convince a user to install a malicious snap could use this\nvulnerability to escape the snap sandbox. (CVE-2024-1724)\n\nZeyad Gouda discovered that snapd failed to properly check the file type when\nextracting a snap. An attacker who could convince a user to install a malicious\nsnap containing non-regular files could then cause snapd to block indefinitely\nwhile trying to read from such files and cause a denial of\nservice. (CVE-2024-29068)\n\nZeyad Gouda discovered that snapd failed to properly check the destination of\nsymbolic links when extracting a snap. An attacker who could convince a user to\ninstall a malicious snap containing crafted symbolic links could then cause\nsnapd to write out the contents of the symbolic link destination into a\nworld-readable directory. This in-turn could allow a local unprivileged user to\ngain access to privileged information. (CVE-2024-29069)\n",
"id": "USN-6940-1",
"modified": "2026-02-10T04:44:43Z",
"published": "2024-08-01T06:35:51Z",
"references": [
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-6940-1"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2024-1724"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2024-29068"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2024-29069"
}
],
"related": [],
"schema_version": "1.7.0",
"summary": "snapd vulnerabilities",
"upstream": [
"UBUNTU-CVE-2024-1724",
"UBUNTU-CVE-2024-29068",
"UBUNTU-CVE-2024-29069"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.