Home / Canonical Ltd. / Juju / CVE-2024-7558
CVE-2024-7558: is it exploited, and which versions of Canonical Ltd. Juju are affected and fixed?
CVE-2024-7558 is a predictable Seed in Pseudo-Random Number Generator (PRNG) vulnerability in Canonical Ltd. Juju. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:08 UTC). Affected: github.com/juju/juju before 0.0.0-20240826044107-ecd7e2d0e986 (GitHub advisory GHSA-mh98-763h-m9v4). Fixed in 0.0.0-20240826044107-ecd7e2d0e986 (GitHub advisory GHSA-mh98-763h-m9v4). Severity: High (8.7, CVSS 3.1, from canonical).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:08 UTC, CVE record November 19, 2026, 07:12 UTC and NVD November 19, 2026, 07:26 UTC.
What is CVE-2024-7558?
JUJU_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.
From the CVE record by canonical, last updated October 2, 2024, 13:59 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Canonical Ltd. | Juju juju Linux | from 3.5 before 3.5.4 from 3.4 before 3.4.6 from 3.3 before 3.3.7 from 3.1 before 3.1.10 from 2.9 before 2.9.51 | 3.5.4, 3.4.6, 3.3.7, 3.1.10, 2.9.51 |
As the CVE record by canonical states it, last updated October 2, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | github.com/juju/juju | < 0.0.0-20240826044107-ecd7e2d0e986 | 0.0.0-20240826044107-ecd7e2d0e986 | GHSA-mh98-763h-m9v4 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 9, 2024. Summary: JUJU_CONTEXT_ID is a predictable authentication secret.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| canonical | juju | before 2.9.51 | application |
| canonical | juju | from 3.1.0 before 3.1.10 | application |
| canonical | juju | from 3.2.0 before 3.2.4 | application |
| canonical | juju | from 3.3.0 before 3.3.7 | application |
| canonical | juju | from 3.4 before 3.4.6 | application |
| canonical | juju | from 3.5.0 before 3.5.4 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 08:20 UTC.
How severe is CVE-2024-7558?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.7 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:H | canonical |
| High 8.0 | CVSS 3.1 | CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-7558 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, October 2, 2024)
- EPSS
- 0.50% probability of exploitation activity in the next 30 days, percentile 44.6 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-337 Predictable Seed in Pseudo-Random Number Generator (PRNG)
- CWE-340 Generation of Predictable Numbers or Identifiers
- CWE-1391 Use of Weak Credentials
- CWE-330 Use of Insufficiently Random Values
- CWE-335 Incorrect Usage of Seeds in Pseudo-Random Number Generator (PRNG)
Where are the vendor advisories and references?
- https://github.com/juju/juju/security/advisories/GHSA-mh98-763h-m9v4 issue-tracking
- https://www.cve.org/CVERecord?id=CVE-2024-7558 issue-tracking
Who found and reported it?
- Harry Pidcock (finder)
- Harry Pidcock (remediation developer)
- Mark Esler (coordinator)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- August 6, 2024
- Published
- October 2, 2024, 10:06 UTC
- CVE record updated
- October 2, 2024, 13:59 UTC by canonical
- NVD
- Analyzed, last modified June 17, 2026, 08:20 UTC
- Last checked
- CVE list November 19, 2026, 07:12 UTC; NVD November 19, 2026, 07:26 UTC; KEV December 3, 2026, 12:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Juju?
- Oct 22, 2026CVE-2026-93336 Canonical Juju: missing authorization
- Apr 10, 2026CVE-2026-5412 Canonical Juju: improper authorization
- Apr 10, 2026CVE-2026-5774 Canonical Juju: race condition
- Apr 1, 2026CVE-2026-4370 Canonical Juju: improper certificate validation
- Mar 18, 2026CVE-2026-32694 Canonical Juju: predictable Value Range from Previous Values
- Mar 18, 2026CVE-2026-32693 Canonical Juju: incorrect authorization
- Mar 18, 2026CVE-2026-32692 Canonical Juju: improper authorization
- Mar 18, 2026CVE-2026-32691 Canonical Juju: incorrect Ownership Assignment
Questions about CVE-2024-7558
Is CVE-2024-7558 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:08 UTC. FIRST's EPSS gives it a 0.50% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Canonical Ltd. Juju are affected by CVE-2024-7558?
github.com/juju/juju before 0.0.0-20240826044107-ecd7e2d0e986, per the GitHub advisory GHSA-mh98-763h-m9v4. The tables above give every range the sources list.
Which version fixes CVE-2024-7558?
0.0.0-20240826044107-ecd7e2d0e986, per the GitHub advisory GHSA-mh98-763h-m9v4. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-7558?
High (8.7, CVSS 3.1, from canonical). The severity table above shows each score with its source.
Where is the official record of CVE-2024-7558?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.