SB2022022123 - Debian update for snapd



SB2022022123 - Debian update for snapd

Published: February 21, 2022 Updated: July 10, 2023

Security Bulletin ID SB2022022123
CSH Severity
Low
Patch available
YES
Number of vulnerabilities 2
Exploitation vector Local access
Highest impact Code execution

Breakdown by Severity

Low 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 2 vulnerabilities.


1) UNIX hardlink following (CVE-ID: CVE-2021-44730)

CWE-ID: CWE-62 - UNIX Hard Link

CVSSv4: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear


The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to a hardlink following issue within the the snap-confine binary. A local user can create a hardlink to system binaries and execute them with elevated privileges.


2) Race condition (CVE-ID: CVE-2021-44731)

CWE-ID: CWE-362 - Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

CVSSv4: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Clear


The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to a race condition in the snap-confine binary when preparing a private mount namespace for a snap.. A local user can  bind-mount their own contents inside the snap's private mount namespace and execute arbitrary code with root privileges.


Remediation

Install update from vendor's website.