CVE-2024-7558

Summary

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.

Affected Software

VendorProductVersion RangeStatus
Canonical Ltd.Juju3.5 < 3.5.4affected
Canonical Ltd.Juju3.4 < 3.4.6affected
Canonical Ltd.Juju3.3 < 3.3.7affected
Canonical Ltd.Juju3.1 < 3.1.10affected
Canonical Ltd.Juju2.9 < 2.9.51affected

Weaknesses

  • CWE-337: CWE-337: Predictable Seed in Pseudo-Random Number Generator (PRNG)
  • CWE-340: CWE-340: Generation of Predictable Numbers or Identifiers
  • CWE-1391: CWE-1391: Use of Weak Credentials

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: no
    • Technical Impact: partial

References