CVE-2024-7558: canonical ltd. juju
Vulnerability summary
CVE-2024-7558 is a high (CVSS 8.7) vulnerability in canonical ltd. juju. EPSS estimates a 0.50% chance of exploitation in the next 30 days, higher than 41.7% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 3 · Related 3Timeline
- 02-10-2024PublishedVulnerability first disclosed.
- 02-10-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · GoEcosystem advisory · calculated8.7HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:H
- NVDNIST8.0HighCVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
EPSS trend
Probability
0.50%
Chance of exploitation in the next 30 days
Percentile
42%
Versus all other CVEs
30-day change
0.00 pp
From 0.50% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundJuju
Maturity: poc
Weaknesses
CWE · root cause- CWE-337Predictable Seed in Pseudo-Random Number Generator (PRNG)A Pseudo-Random Number Generator (PRNG) is initialized from a predictable seed, such as the process ID or system time.
- CWE-340Generation of Predictable Numbers or IdentifiersThe product uses a scheme that generates numbers or identifiers that are more predictable than required.
- CWE-1391Use of Weak CredentialsThe product uses weak credentials (such as a default key or hard-coded password) that can be calculated, derived, reused, or guessed by an attacker.
- CWE-330Use of Insufficiently Random ValuesThe product uses insufficiently random numbers or values in a security context that depends on unpredictable numbers.
- CWE-335Incorrect Usage of Seeds in Pseudo-Random Number Generator (PRNG)The product uses a Pseudo-Random Number Generator (PRNG) but does not correctly manage seeds.
Affected systems
Canonical1 product
- juju< 2.9.51 | ≥ 3.1.0, < 3.1.10 | ≥ 3.2.0, < 3.2.4 | ≥ 3.3.0, < 3.3.7 | ≥ 3.4, < 3.4.6 | ≥ 3.5.0, < 3.5.4
Canonical ltd.1 product
- juju≥ 3.5, < 3.5.4 | ≥ 3.4, < 3.4.6 | ≥ 3.3, < 3.3.7 | ≥ 3.1, < 3.1.10 | ≥ 2.9, < 2.9.51
Github.com/juju1 product
- juju< 0.0.0-20240826044107-ecd7e2d0e986
3 vendors · 3 products
References
6 links- github.com/juju/juju/security/advisories/GHSA-mh98-763h-m9v4Issue TrackingWEBAdvisoryExploitPatchVendor Advisory
- github.com/juju/jujuPACKAGE