8.1

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

Analyzed
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 58.9% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (reference, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
8.1/10
010
High · v3.1 (CVE.org)
EPSS score
0.83%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware 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

59%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.83% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (bugs.launchpad.net)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

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