Advisory

USN-5292-1

Also known as: CVE-2021-3155, CVE-2021-4120, CVE-2021-44730, CVE-2021-44731

Summary

snapd vulnerabilities

Details

James Troup discovered that snap did not properly manage the permissions for
the snap directories. A local attacker could possibly use this issue to expose
sensitive information. (CVE-2021-3155)

Ian Johnson discovered that snapd did not properly validate content interfaces
and layout paths. A local attacker could possibly use this issue to inject
arbitrary AppArmor policy rules, resulting in a bypass of intended access
restrictions. (CVE-2021-4120)

The Qualys Research Team discovered that snapd did not properly validate the
location of the snap-confine binary. A local attacker could possibly use this
issue to execute other arbitrary binaries and escalate privileges.
(CVE-2021-44730)

The Qualys Research Team discovered that a race condition existed in the snapd
snap-confine binary when preparing a private mount namespace for a snap. A
local attacker could possibly use this issue to escalate privileges and
execute arbitrary code. (CVE-2021-44731)

Severity

Not rated by the source.

Dates

Published
2022-02-17 17:24 UTC
Modified
2026-02-10 04:42 UTC

Affected packages and fixes

snapd

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 2.54.3+18.04 (ecosystem)

Fixed versions

2.54.3+18.04

Fix

  • Fixed version 2.54.3+18.04
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

snapd

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 2.54.3+20.04 (ecosystem)

Fixed versions

2.54.3+20.04

Fix

  • Fixed version 2.54.3+20.04
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences