8.1

CVE-2024-5138: canonical ltd. snapd Improper Input Validation

CVSS: 8.1v3.1HighAnalyzed
AliasesUBUNTU-CVE-2024-5138DEBIAN-CVE-2024-5138GHSA-p9v8-q5m4-pf46
Published 31-05-2024Last modified 06-09-2024

Vulnerability summary

CVE-2024-5138 is a high (CVSS 8.1) Improper Input Validation vulnerability in canonical ltd. snapd. EPSS estimates a 0.83% chance of exploitation in the next 30 days, higher than 56.8% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
43/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.1/10
010
High · v3.1 (CVE.org)
EPSS score
0.83%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1reference

Timeline

  1. 31-05-2024
    PublishedVulnerability first disclosed.
  2. 06-09-2024
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.83%

Chance of exploitation in the next 30 days

Percentile

57%

Versus all other CVEs

30-day change

+0.01 pp

From 0.83% on 18-09-2026

18-09-202618-10-2026
EPSS score
0.83%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (bugs.launchpad.net)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Canonical1 product
  • snapd≥ 2.51.6, < 2.63.1
Canonical ltd.1 product
  • snapd< 68ee9c6aa916ab87dbfd9a26030690f2cabf1e14
Debian1 product
  • snapdAll versions (No fix recorded) | < 2.62-3
Github.com/snapcore1 product
  • snapd≥ 2.51.6, < 2.63.1 | < 0.0.0-20240524114846-68ee9c6aa916 | All versions (No fix recorded)
Ubuntu1 product
  • snapdAll versions (No fix recorded)

5 vendors · 5 products

References

9 links