Raw vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:HCVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.
Summary
CVE-2024-7558 is a high-severity PRNG (CWE-337) vulnerability in Canonical Juju. Its CVSS base score is 8.7 (High).
Operationally, exploitation aligns with the MITRE ATT&CK technique Valid Accounts (T1078); ranked at the 44th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
The strongest mitigations our analysis identified map to IA-5 (Authenticator Management) and SA-11 (Developer Testing and Evaluation) — see the control section below for these in your framework.
OWASP Top 10 for Web (2025)
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-3082
Vulnerability Data
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…
more
unprivileged user access to the same information and tools as the Juju charm.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise Techniques
MITRE ATT&CK v20.0
CVEs Like This One
Affected Assets
Mitigating Controls
Control response
—
—
- 5 hardening rules · 2 OS baselines
V7.2.3V11.5.1V6.5.3
Mitigating Controls (NIST 800-53 r5)
Our mappings, made for this CVE.
IA-5 directly requires management of authenticator strength, distribution, and replacement, stopping default or guessable credentials from being introduced or used.
Developer testing and evaluation can discover use of predictable seeds such as time or PID.
Proper cryptographic key establishment and management includes using unpredictable seeds for PRNGs that feed key generation.
Engineering principles can require cryptographically secure PRNGs seeded from high-entropy sources.
SC-13 requires selection and implementation of approved cryptographic algorithms and methods, which inherently depend on and enforce sufficiently random values.
Mitigating Controls (NIST CSF 2.0)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.
Secure SDLC practices directly require cryptographically secure PRNG seeding, preventing predictable seeds while the control addresses many additional weaknesses.
Mitigating Controls (ISO/IEC 27001:2022 Annex A)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.
A well-implemented cryptography policy under A.8.24 names approved PRNGs and seeding practices as part of its cryptographic usage standards (guidance item f), so in first-party code a developer never seeds a PRNG with a predictable value like process ID or system time when cryptographic randomness is required; the remainder is bounded and nameable -- third-party, COTS, and legacy components that arrive with their seeding choices already made, mirroring the CWE-328 anchor.
Security testing can detect and prevent use of weak or predictable PRNG seeds.
Training developers about cryptographic best practices, including proper PRNG seeding (avoiding time-based or constant seeds, using cryptographically secure entropy sources), prevents some instances of CWE-335, but PRNG seeding is a specialized topic that not all training programs cover in depth, and developers remain fallible on the technical details.
Secure coding standards explicitly forbid predictable PRNG seeds.
A.8.30 carries its effect through the secure-development practices its contract requires of the supplier (8.25 to 8.29), so it reduces ordinary software implementation weaknesses in delivered code the way those practices do; CWE-337 is a code-level seeding defect that secure coding guidance would address, but the clause depends on supplier implementation and human practice is fallible, matching the owner's `partial` ceiling on A.8.30.
A.8.5 blocks exploitation of weak user credentials through MFA (required for critical systems) and brute-force protection (item e: lockout, CAPTCHA), but does not block exploitation of hard-coded service credentials, default credentials that are publicly known, or previously-leaked credentials where the attacker already possesses the secret and brute-force resistance is irrelevant.
Hardening callouts derived
Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over our cross-walk; rows rated `none` are excluded, and each rule says how its mapping was checked.
Definition changed on 29 October 2026. Until then this section listed every rule rated above none, partial included. From that date it lists rules whose mapping is rated full or mostly and checked at llm_unverified or higher; partial mappings show when you ask.
Oracle Linux 8 (2 rules, 1 more partial)
- V-248563 The OL 8 SSH server must be configured to use strong entropy. blocks CWE-335, CWE-337
- V-248600 OL 8 must have the packages required to use the hardware random number generator entropy gatherer service. blocks CWE-337
- V-248599 OL 8 must enable the hardware random number generator entropy gatherer service. blocks CWE-337
RHEL 8 (1 partial rule)
- V-230253 RHEL 8 must ensure the SSH server uses strong entropy. blocks CWE-335