GHSA-8c64-q78q-87r6: Duplicate Advisory Juju Leaks Of The Sensitive Vulnerability

HIGH
CVSS 8.8
CWE-209
Published
Advisory Summary

GHSA-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

CVE Identifier N/A
GHSA Identifier GHSA-8c64-q78q-87r6
Severity HIGH
CVSS v3.1 Base Score 8.8
CWE Classification CWE-209: Generation of Error Message Containing Sensitive Information
Affected Product Duplicate Advisory
Package Ecosystem Go
Published Date
Last Updated

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

Attack Vector Local (AV:L)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Changed (S:C)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (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.

github.com/juju/juju fixed: 2.9.50
Upgrade github.com/juju/juju to 2.9.50
Verify Direct and Transitive Dependencies

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

## Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-6vjm-54vp-mxhx. This link has been maintained to preserve external references. ## Original Description An 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.

GHSA-8c64-q78q-87r6 Affected Duplicate Advisory Versions

1 component(s)
Fixed Versions:
2.9.50
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?
GHSA-8c64-q78q-87r6 is a security vulnerability in Duplicate Advisory involving Juju leaks of the sensitive context ID under CWE-209: Generation of Error Message Containing Sensitive Information.
Which Duplicate Advisory versions are affected?
Affected versions include releases prior to 2.9.50 across affected packages: github.com/juju/juju.
What version fixes GHSA-8c64-q78q-87r6?
Upgrading to 2.9.50 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/juju/juju affected?
Yes, github.com/juju/juju is affected in releases prior to 2.9.50. Upgrade your dependency to 2.9.50 or later.
What is the CVSS score of GHSA-8c64-q78q-87r6?
GHSA-8c64-q78q-87r6 has a CVSS v3.1 base score of 8.8 (HIGH) with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H.
What CWE is associated with GHSA-8c64-q78q-87r6?
GHSA-8c64-q78q-87r6 is classified under CWE-209: Generation of Error Message Containing Sensitive Information (The product generates an error message that includes sensitive information about its environment, users, or associated data.).
How can I check Go dependencies for GHSA-8c64-q78q-87r6?
Run the dependency tree command: 'inspect dependencies for github.com/juju/juju'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}