USN-6940-1 fixed vulnerabilities in snapd. This update provides the corresponding updates for Ubuntu 18.04 LTS and Ubuntu 16.04 LTS.
Original advisory details:
Neil McPhail discovered that snapd did not properly restrict writes to the /home/jslarraz/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)
{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "2.61.4ubuntu0.16.04.1+esm1",
            "binary_name": "golang-github-snapcore-snapd-dev"
        },
        {
            "binary_version": "2.61.4ubuntu0.16.04.1+esm1",
            "binary_name": "golang-github-ubuntu-core-snappy-dev"
        },
        {
            "binary_version": "2.61.4ubuntu0.16.04.1+esm1",
            "binary_name": "snap-confine"
        },
        {
            "binary_version": "2.61.4ubuntu0.16.04.1+esm1",
            "binary_name": "snapd"
        },
        {
            "binary_version": "2.61.4ubuntu0.16.04.1+esm1",
            "binary_name": "snapd-xdg-open"
        },
        {
            "binary_version": "2.61.4ubuntu0.16.04.1+esm1",
            "binary_name": "ubuntu-core-launcher"
        },
        {
            "binary_version": "2.61.4ubuntu0.16.04.1+esm1",
            "binary_name": "ubuntu-core-snapd-units"
        },
        {
            "binary_version": "2.61.4ubuntu0.16.04.1+esm1",
            "binary_name": "ubuntu-snappy"
        },
        {
            "binary_version": "2.61.4ubuntu0.16.04.1+esm1",
            "binary_name": "ubuntu-snappy-cli"
        }
    ]
}
          {
    "ecosystem": "Ubuntu:Pro:16.04:LTS",
    "cves": [
        {
            "severity": [
                {
                    "type": "CVSS_V3",
                    "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": "Ubuntu",
                    "score": "medium"
                }
            ],
            "id": "CVE-2024-1724"
        },
        {
            "severity": [
                {
                    "type": "CVSS_V3",
                    "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": "Ubuntu",
                    "score": "medium"
                }
            ],
            "id": "CVE-2024-29068"
        },
        {
            "severity": [
                {
                    "type": "CVSS_V3",
                    "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": "Ubuntu",
                    "score": "medium"
                }
            ],
            "id": "CVE-2024-29069"
        }
    ]
}
                {
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "2.61.4ubuntu0.18.04.1+esm1",
            "binary_name": "golang-github-snapcore-snapd-dev"
        },
        {
            "binary_version": "2.61.4ubuntu0.18.04.1+esm1",
            "binary_name": "golang-github-ubuntu-core-snappy-dev"
        },
        {
            "binary_version": "2.61.4ubuntu0.18.04.1+esm1",
            "binary_name": "snap-confine"
        },
        {
            "binary_version": "2.61.4ubuntu0.18.04.1+esm1",
            "binary_name": "snapd"
        },
        {
            "binary_version": "2.61.4ubuntu0.18.04.1+esm1",
            "binary_name": "snapd-xdg-open"
        },
        {
            "binary_version": "2.61.4ubuntu0.18.04.1+esm1",
            "binary_name": "ubuntu-core-launcher"
        },
        {
            "binary_version": "2.61.4ubuntu0.18.04.1+esm1",
            "binary_name": "ubuntu-core-snapd-units"
        },
        {
            "binary_version": "2.61.4ubuntu0.18.04.1+esm1",
            "binary_name": "ubuntu-snappy"
        },
        {
            "binary_version": "2.61.4ubuntu0.18.04.1+esm1",
            "binary_name": "ubuntu-snappy-cli"
        }
    ]
}
          {
    "ecosystem": "Ubuntu:Pro:18.04:LTS",
    "cves": [
        {
            "severity": [
                {
                    "type": "CVSS_V3",
                    "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": "Ubuntu",
                    "score": "medium"
                }
            ],
            "id": "CVE-2024-1724"
        },
        {
            "severity": [
                {
                    "type": "CVSS_V3",
                    "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": "Ubuntu",
                    "score": "medium"
                }
            ],
            "id": "CVE-2024-29068"
        },
        {
            "severity": [
                {
                    "type": "CVSS_V3",
                    "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": "Ubuntu",
                    "score": "medium"
                }
            ],
            "id": "CVE-2024-29069"
        }
    ]
}