GHSA-8c64-q78q-87r6: Duplicate Advisory Juju Leaks Of The Sensitive Vulnerability
HIGHGHSA-8c64-q78q-87r6 is a HIGH (CVSS 8.8) juju leaks of the sensitive vulnerability (CWE-209: Generation of Error Message Containing Sensitive Information) affecting Duplicate Advisory libraries in the Go ecosystem. The issue involves juju leaks of the sensitive context id. Remediation is available by upgrading affected packages to version 2.9.50.
GHSA-8c64-q78q-87r6 at a Glance
Security Impact
CVSS: 8.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H).
How to Fix GHSA-8c64-q78q-87r6
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/juju/juju to 2.9.50
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/juju/juju
How to Check if You Are Affected
To determine whether your application is affected by GHSA-8c64-q78q-87r6, inspect your project dependencies for Duplicate Advisory:
inspect dependencies for github.com/juju/juju
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.9.50), 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 CWE-209: Generation of Error Message Containing Sensitive Information, where the product generates an error message that includes sensitive information about its environment, users, or associated data. 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-8c64-q78q-87r6 Affected Duplicate Advisory Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/juju/juju
|
Go |
< 2.9.50
|
2.9.50
|
References
Frequently Asked Questions
What is GHSA-8c64-q78q-87r6?
Which Duplicate Advisory versions are affected?
What version fixes GHSA-8c64-q78q-87r6?
Is github.com/juju/juju affected?
What is the CVSS score of GHSA-8c64-q78q-87r6?
What CWE is associated with GHSA-8c64-q78q-87r6?
How can I check Go dependencies for GHSA-8c64-q78q-87r6?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-8c64-q78q-87r6",
"modified" : "2024-08-05T17:18:32Z",
"published" : "2024-07-29T15:30:38Z",
"withdrawn" : "2024-08-05T17:18:32Z",
"aliases" : [ ],
"summary" : "Duplicate Advisory: Juju leaks of the sensitive context ID",
"details" : "## Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-6vjm-54vp-mxhx. This link has been maintained to preserve external references.\n\n## Original Description\n\nAn issue was discovered in Juju that resulted in the leak of the sensitive context ID, which allows a local unprivileged attacker to access other sensitive data or relation accessible to the local charm.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/juju/juju"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.9.50"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/juju/juju/security/advisories/GHSA-6vjm-54vp-mxhx"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-6984"
}, {
"type" : "WEB",
"url" : "https://github.com/juju/juju/commit/da929676853092a29ddf8d589468cf85ba3efaf2"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/juju/juju"
}, {
"type" : "WEB",
"url" : "https://www.cve.org/CVERecord?id=CVE-2024-6984"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-209" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-08-05T17:18:32Z",
"nvd_published_at" : "2024-07-29T14:15:04Z"
}
}