GHSA-85qf-6845-m8p2: Duplicate Advisory Juju Unprotected Alternate Channel Vulnerability Vulnerability

HIGH
CVSS 7.9
CWE-420
Published
Advisory Summary

GHSA-85qf-6845-m8p2 is a HIGH (CVSS 7.9) juju unprotected alternate channel vulnerability vulnerability (CWE-420: Unprotected Alternate Channel) affecting Duplicate Advisory libraries in the Go ecosystem. The issue involves juju unprotected alternate channel vulnerability. Remediation is available by upgrading affected packages to version 0.0.0-20241001032836-2af7bd8e310b.

GHSA-85qf-6845-m8p2 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-85qf-6845-m8p2
Severity HIGH
CVSS v3.1 Base Score 7.9
CWE Classification CWE-420: Unprotected Alternate Channel
Affected Product Duplicate Advisory
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 7.9

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:L/I:L/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 Low (C:L)
Integrity Low (I:L)
Availability High (A:H)

How to Fix GHSA-85qf-6845-m8p2

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: 0.0.0-20241001032836-2af7bd8e310b
Upgrade github.com/juju/juju to 0.0.0-20241001032836-2af7bd8e310b
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-85qf-6845-m8p2, 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 0.0.0-20241001032836-2af7bd8e310b), 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-420: Unprotected Alternate Channel, where the product protects a primary channel, but it does not use the same level of protection for an alternate channel. 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-xwgj-vpm9-q2rq. This link is maintained to preserve external references. ## Original Description Vulnerable juju introspection abstract UNIX domain socket. An abstract UNIX domain socket responsible for introspection is available without authentication locally to network namespace users. This enables denial of service attacks.

GHSA-85qf-6845-m8p2 Affected Duplicate Advisory Versions

1 component(s)
Fixed Versions:
0.0.0-20241001032836-2af7bd8e310b
Product / Package Ecosystem Affected Versions Fixed Version
github.com/juju/juju
Go
< 0.0.0-20241001032836-2af7bd8e310b
0.0.0-20241001032836-2af7bd8e310b

References

Frequently Asked Questions

What is GHSA-85qf-6845-m8p2?
GHSA-85qf-6845-m8p2 is a security vulnerability in Duplicate Advisory involving Juju Unprotected Alternate Channel vulnerability under CWE-420: Unprotected Alternate Channel.
Which Duplicate Advisory versions are affected?
Affected versions include releases prior to 0.0.0-20241001032836-2af7bd8e310b across affected packages: github.com/juju/juju.
What version fixes GHSA-85qf-6845-m8p2?
Upgrading to 0.0.0-20241001032836-2af7bd8e310b (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 0.0.0-20241001032836-2af7bd8e310b. Upgrade your dependency to 0.0.0-20241001032836-2af7bd8e310b or later.
What is the CVSS score of GHSA-85qf-6845-m8p2?
GHSA-85qf-6845-m8p2 has a CVSS v3.1 base score of 7.9 (HIGH) with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:H.
What CWE is associated with GHSA-85qf-6845-m8p2?
GHSA-85qf-6845-m8p2 is classified under CWE-420: Unprotected Alternate Channel (The product protects a primary channel, but it does not use the same level of protection for an alternate channel.).
How can I check Go dependencies for GHSA-85qf-6845-m8p2?
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-85qf-6845-m8p2",
  "modified" : "2024-10-02T21:55:50Z",
  "published" : "2024-10-02T12:30:33Z",
  "withdrawn" : "2024-10-02T21:55:50Z",
  "aliases" : [ ],
  "summary" : "Duplicate Advisory: Juju Unprotected Alternate Channel vulnerability",
  "details" : "## Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-xwgj-vpm9-q2rq. This link is maintained to preserve external references.\n\n## Original Description\nVulnerable juju introspection abstract UNIX domain socket. An abstract UNIX domain socket responsible for introspection is available without authentication locally to network namespace users. This enables denial of service attacks.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/juju/juju"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.0.0-20241001032836-2af7bd8e310b"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/juju/juju/security/advisories/GHSA-xwgj-vpm9-q2rq"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-8038"
  }, {
    "type" : "WEB",
    "url" : "https://www.cve.org/CVERecord?id=CVE-2024-8038"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-420" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-10-02T21:55:50Z",
    "nvd_published_at" : "2024-10-02T11:15:11Z"
  }
}