GHSA-phh4-3hmm-24rx: Duplicate Advisory Juju Makes Use Of Weak Vulnerability
HIGHGHSA-phh4-3hmm-24rx is a HIGH (CVSS 8.7) juju makes use of weak vulnerability (CWE-337: Predictable Seed in Pseudo-Random Number Generator (PRNG)) affecting Duplicate Advisory libraries in the Go ecosystem. The issue involves juju makes use of weak credentials. Remediation is available by upgrading affected packages to version 0.0.0-20241001032836-2af7bd8e310b.
GHSA-phh4-3hmm-24rx at a Glance
Security Impact
CVSS: 8.7
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:H/A:H).
How to Fix GHSA-phh4-3hmm-24rx
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 0.0.0-20241001032836-2af7bd8e310b
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-phh4-3hmm-24rx, 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-337: Predictable Seed in Pseudo-Random Number Generator (PRNG), where a pseudo-random number generator (prng) is initialized from a predictable seed, such as the process id or system time. 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-phh4-3hmm-24rx Affected Duplicate Advisory Versions
1 component(s)| 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-phh4-3hmm-24rx?
Which Duplicate Advisory versions are affected?
What version fixes GHSA-phh4-3hmm-24rx?
Is github.com/juju/juju affected?
What is the CVSS score of GHSA-phh4-3hmm-24rx?
What CWE is associated with GHSA-phh4-3hmm-24rx?
How can I check Go dependencies for GHSA-phh4-3hmm-24rx?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-phh4-3hmm-24rx",
"modified" : "2025-08-26T19:43:23Z",
"published" : "2024-10-02T12:30:33Z",
"withdrawn" : "2024-10-02T21:55:42Z",
"aliases" : [ ],
"summary" : "Duplicate Advisory: Juju makes Use of Weak Credentials",
"details" : "## Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-mh98-763h-m9v4. This link is maintained to preserve external references.\n\n## Original Description\nJUJU_CONTEXT_ID is a predictable authentication secret. On a Juju machine (non-Kubernetes) or Juju charm container (on Kubernetes), an unprivileged user in the same network namespace can connect to an abstract domain socket and guess the JUJU_CONTEXT_ID value. This gives the unprivileged user access to the same information and tools as the Juju charm.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:H/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-mh98-763h-m9v4"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-7558"
}, {
"type" : "WEB",
"url" : "https://www.cve.org/CVERecord?id=CVE-2024-7558"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1391", "CWE-330", "CWE-337" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-10-02T21:55:42Z",
"nvd_published_at" : "2024-10-02T11:15:11Z"
}
}