GHSA-jrr7-64m9-x984: Duplicate Advisory CVE-2024-5138: Snapd Snapctl Auth Bypass Vulnerability
HIGHGHSA-jrr7-64m9-x984 is a HIGH cve-2024-5138: snapd snapctl auth bypass vulnerability (General Security Weakness) affecting Duplicate Advisory libraries in the Go ecosystem. The issue involves cve-2024-5138: snapd snapctl auth bypass. Remediation is available by upgrading affected packages to version 2.63.1.
GHSA-jrr7-64m9-x984 at a Glance
How to Fix GHSA-jrr7-64m9-x984
To remediate this vulnerability, upgrade all affected Duplicate Advisory dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/snapcore/snapd to 2.63.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/snapcore/snapd
How to Check if You Are Affected
To determine whether your application is affected by GHSA-jrr7-64m9-x984, inspect your project dependencies for Duplicate Advisory:
inspect dependencies for github.com/snapcore/snapd
Analyze the terminal output to locate any version of Duplicate Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.63.1), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Duplicate Advisory, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-jrr7-64m9-x984 Affected Duplicate Advisory Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/snapcore/snapd
|
Go |
≥ 2.51.6
< 2.63.1
|
2.63.1
|
References
Frequently Asked Questions
What is GHSA-jrr7-64m9-x984?
Which Duplicate Advisory versions are affected?
What version fixes GHSA-jrr7-64m9-x984?
Is github.com/snapcore/snapd affected?
What CWE is associated with GHSA-jrr7-64m9-x984?
How can I check Go dependencies for GHSA-jrr7-64m9-x984?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-jrr7-64m9-x984",
"modified" : "2025-01-16T17:19:00Z",
"published" : "2024-05-31T21:30:55Z",
"withdrawn" : "2025-01-16T17:19:00Z",
"aliases" : [ ],
"summary" : "Duplicate Advisory: CVE-2024-5138: snapd snapctl auth bypass",
"details" : "# Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-p9v8-q5m4-pf46. This link is maintained to preserve external references.\n\n# Original Description\nThe 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.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/snapcore/snapd"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.51.6"
}, {
"fixed" : "2.63.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/snapcore/snapd/security/advisories/GHSA-p9v8-q5m4-pf46"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-5138"
}, {
"type" : "WEB",
"url" : "https://github.com/snapcore/snapd/commit/68ee9c6aa916ab87dbfd9a26030690f2cabf1e14"
}, {
"type" : "WEB",
"url" : "https://bugs.launchpad.net/snapd/+bug/2065077"
}, {
"type" : "WEB",
"url" : "https://www.cve.org/CVERecord?id=CVE-2024-5138"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-01-16T17:19:00Z",
"nvd_published_at" : "2024-05-31T21:15:09Z"
}
}