CVE-2021-44730
Linux Debian vulnerability analysis and mitigation

Overview

CVE-2021-44730 affects snapd version 2.54.2, a component used in Ubuntu and other Linux distributions. The vulnerability was discovered by the Qualys Research Team and disclosed on February 17, 2022. The issue stems from improper validation of the snap-confine binary location, which could allow a local attacker to execute arbitrary binaries and gain privilege escalation. This vulnerability was fixed in snapd versions 2.54.3+18.04, 2.54.3+20.04, and 2.54.3+21.10.1 (Ubuntu Notice, Debian Notice).

Technical details

The vulnerability exists in snap-confine's scopensnapd_tool() function. The issue arises when snap-confine dynamically obtains the path to snap-update-ns and snap-discard-ns (helper programs executed with root privileges) by reading its own path via /proc/self/exe. The CVSS 3.1 base score is 7.8 (High) with the vector string CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H, indicating local access required, high attack complexity, low privileges required, and high impact on confidentiality, integrity, and availability (Openwall List).

Impact

If exploited, this vulnerability allows a local attacker to execute arbitrary binaries with elevated privileges, potentially leading to complete system compromise. The attack requires specific conditions, notably when the kernel's fs.protected_hardlinks is set to 0, which is not the default configuration in most distributions (Openwall List).

Mitigation and workarounds

The vulnerability has been patched in snapd version 2.54.3. Users should upgrade to snapd versions 2.54.3+18.04, 2.54.3+20.04, or 2.54.3+21.10.1 depending on their Ubuntu version. For Debian users, fixes are available in version 2.37.4-1+deb10u1 for Debian 10 (buster) and version 2.49-1+deb11u1 for Debian 11 (bullseye). Fedora users should upgrade to snapd-2.54.3-1 (Fedora Update).

Additional resources


SourceThis report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-59030HIGH7.5
  • Linux DebianLinux Debian
  • pdns-recursor
NoYesDec 09, 2025
CVE-2025-59029MEDIUM5.3
  • Linux DebianLinux Debian
  • pdns-recursor
NoYesDec 09, 2025
CVE-2025-40344N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-modules-internal
NoYesDec 09, 2025
CVE-2025-40343N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel
NoYesDec 09, 2025
CVE-2025-40342N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel-matched
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management