Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2024-5138

8.1 · HIGH
Published May 31, 2024 canonical CWE-20 EPSS 0.83% (55th pctl)

Overview

CVE-2024-5138 is a high-severity vulnerability affecting canonical snapd. It was published on May 31, 2024 and has a CVSS 3.1 base score of 8.1 (HIGH).

This vulnerability has a CVSS 3.1 base score of 8.1, rated HIGH. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

Technical 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.

Remediation

Check the references section for vendor advisories and patches from canonical. Update snapd to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
canonical snapd >= 2.51.6, < 2.63.1 Affected

Frequently Asked Questions

What is CVE-2024-5138?

CVE-2024-5138 is a high-severity vulnerability affecting canonical snapd. It was published on May 31, 2024 and has a CVSS 3.1 base score of 8.1 (HIGH).

How severe is CVE-2024-5138?

This vulnerability has a CVSS 3.1 base score of 8.1, rated HIGH. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2024-5138?

Check the references section for vendor advisories and patches from canonical. Update snapd to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-5138?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-5138 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.