The Patching Friars' AlmanacA calendar of CVE saints

December 23

More LemmingsHoly card for oh-snap-more-lemmings, generated with AI (Claude, Anthropic) for the Lunario dei Frati Patchatori.CC BY-NC-SA 4.0 # root More Lemmings SALTUS AD ROOT
🤖 Image and text generated with AI

⬇ Download holy card: ·

⚔ Commemorated today: Winter Darkness in Ukraine (2015)

Embed on your site

Saint Oh Snap! More Lemmings, Who Mounted His Own Way to Root

Patron of Ubuntu snaps, private mount namespaces, and anyone who trusts every confined package.

Life

On 23 December 2022 Vulnerability Garden marks the flaw Qualys had disclosed in February: a race in the snap-confine binary, which prepares the private mount namespace for each snap. A local attacker could bind-mount their own contents inside that namespace and make snap-confine run arbitrary code, gaining root privileges on default Ubuntu installations. Fixed in snapd 2.54.3.

Prayer

O Saint Oh Snap! More Lemmings, who slips your mount where the system trusts, let our boundaries hold even under a race. Amen.

How to celebrate

Celebrated by updating snapd to 2.54.3 and remembering that even a sandbox has thin walls.

Jump like a lemming, land like root.

Technical record

Disclosed on
December 23 2022
CVE
CVE-2021-44731
CVSS
7.8
Product
Canonical Ltd. · snapd

A race condition existed in the snapd 2.54.2 snap-confine binary when preparing a private mount namespace for a snap. This could allow a local attacker to gain root privileges by bind-mounting their own contents inside the snap's private mount namespace and causing snap-confine to execute arbitrary code 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

Sources: blog.qualys.com

Commemorated today

Also remembered today

Shortcuts: ← → to move, D day, W week, M month, T today.

📅 Add to your calendar

Saints:Google CalendarApple, Outlook and others (.ics)

Observances (feasts, scourges and miracles):Google CalendarApple, Outlook and others (.ics)

In Google Calendar you can also paste the URL in Settings → Add calendar → From URL. The first sync can take a few hours.