Headline
Ubuntu Security Notice USN-5753-1
Ubuntu Security Notice 5753-1 - The Qualys Research Team discovered that a race condition existed in the snapd snap-confine binary when preparing the private /tmp mount for a snap. A local attacker could possibly use this issue to escalate privileges and execute arbitrary code.
=========================================================================
Ubuntu Security Notice USN-5753-1
December 01, 2022
snapd vulnerability
A security issue affects these releases of Ubuntu and its derivatives:
- Ubuntu 22.10
- Ubuntu 22.04 LTS
- Ubuntu 20.04 LTS
- Ubuntu 18.04 LTS
- Ubuntu 16.04 ESM
Summary:
snapd could be made to run programs as an administrator.
Software Description:
- snapd: Daemon and tooling that enable snap packages
Details:
The Qualys Research Team discovered that a race condition existed in the
snapd snap-confine binary when preparing the private /tmp mount for a
snap. A local attacker could possibly use this issue to escalate privileges
and execute arbitrary code.
Update instructions:
The problem can be corrected by updating your system to the following
package versions:
Ubuntu 22.10:
snapd 2.57.5+22.10ubuntu0.1
Ubuntu 22.04 LTS:
snapd 2.57.5+22.04ubuntu0.1
Ubuntu 20.04 LTS:
snapd 2.57.5+20.04ubuntu0.1
Ubuntu 18.04 LTS:
snapd 2.57.5+18.04ubuntu0.1
Ubuntu 16.04 ESM:
snapd 2.54.3+16.04.0ubuntu0.1~esm5
In general, a standard system update will make all the necessary changes.
References:
https://ubuntu.com/security/notices/USN-5753-1
CVE-2022-3328
Package Information:
https://launchpad.net/ubuntu/+source/snapd/2.57.5+22.10ubuntu0.1
https://launchpad.net/ubuntu/+source/snapd/2.57.5+22.04ubuntu0.1
https://launchpad.net/ubuntu/+source/snapd/2.57.5+20.04ubuntu0.1
https://launchpad.net/ubuntu/+source/snapd/2.57.5+18.04ubuntu0.1
Related news
Race condition in snap-confine's must_mkdir_and_open_with_perms()
Qualys discovered a race condition (CVE-2022-3328) in snap-confine, a SUID-root program installed by default on Ubuntu. In this advisory,they tell the story of this vulnerability (which was introduced in February 2022 by the patch for CVE-2021-44731) and detail how they exploited it in Ubuntu Server (a local privilege escalation, from any user to root) by combining it with two vulnerabilities in multipathd (an authorization bypass and a symlink attack, CVE-2022-41974 and CVE-2022-41973).
The maintainers of the FreeBSD operating system have released updates to remediate a security vulnerability impacting the ping module that could be potentially exploited to crash the program or trigger remote code execution. The issue, assigned the identifier CVE-2022-23093, impacts all supported versions of FreeBSD and concerns a stack-based buffer overflow vulnerability in the ping service. "
Debian Linux Security Advisory 5292-1 - The Qualys Research Team discovered a race condition in the snapd-confine binary which could result in local privilege escalation.