CVE-2024-5138 Affecting snapd package, versions <2.62-3


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.05% (18th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIANUNSTABLE-SNAPD-7174850
  • published1 Jun 2024
  • disclosed31 May 2024

Introduced: 31 May 2024

CVE-2024-5138  (opens in a new tab)

How to fix?

Upgrade Debian:unstable snapd to version 2.62-3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream snapd package and not the snapd package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

The snapctl component within snapd allows a confined snap to interact with the snapd daemon to take certain privileged actions on behalf of the snap. It was found that snapctl did not properly parse command-line arguments, allowing an unprivileged user to trigger an authorised action on behalf of the snap that would normally require administrator privileges to perform. This could possibly allow an unprivileged user to perform a denial of service or similar.