CVE-2021-44730

snapd could be made to escalate privileges and run programs as administrator

Published Feb 17, 2022 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
Description
snapd 2.54.2 did not properly validate the location of the snap-confine binary. A local attacker who can hardlink this binary to another location to cause snap-confine to execute other arbitrary binaries and hence gain privilege escalation. Fixed in snapd versions 2.54.3+18.04, 2.54.3+20.04 and 2.54.3+21.10.1

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-5080-1 snapd security update
EUVD EUVD EUVD-2021-31545 snapd 2.54.2 did not properly validate the location of the snap-confine binary. A local attacker who can hardlink this binary to another location to cause snap-confine to execute other arbitrary binaries and hence gain privilege escalation. Fixed in snapd versions 2.54.3+18.04, 2.54.3+20.04 and 2.54.3+21.10.1
Ubuntu USN Ubuntu USN USN-5292-1 snapd vulnerabilities
Ubuntu USN Ubuntu USN USN-5292-2 snapd vulnerabilities
Ubuntu USN Ubuntu USN USN-5292-3 snapd vulnerabilities
History

No history.

Weaknesses
  • CWE-59

    Improper Link Resolution Before File Access ('Link Following')

Sources

Status
PUBLISHED
Assigner
canonical
Published
Updated
Aug 4, 2024, 4:32 AM
Reserved
Dec 8, 2021, 12:00 AM
Status
Modified
Published
Feb 17, 2022, 11:15 PM
Modified
Jun 17, 2026, 4:12 AM