Skip to content

CVE-2024-7558 JUJU_CONTEXT_ID is a predictable authentication secret

HighCVSS 8.0 EPSS 0.50%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
Kubernetes

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
Canonical Juju < 2.9.51; >= 2.9, < 2.9.51; >= 3.1, < 3.1.10; >= 3.1.0, < 3.1.10 +6 more 2.9.51, 3.1.10, 3.2.4, 3.3.7, 3.4.6, 3.5.4 Fixed
juju github.com/juju/juju(Go) < 0.0.0-20240826044107-ecd7e2d0e986 0.0.0-20240826044107-ecd7e2d0e986 Fixed

Affected products

ProductAffected versionsFixed in
juju github.com/juju/juju(Go) < 0.0.0-20240826044107-ecd7e2d0e986 0.0.0-20240826044107-ecd7e2d0e986
Canonical Juju >= 3.5, < 3.5.4 3.5.4
Canonical Juju >= 3.4, < 3.4.6 3.4.6
Canonical Juju >= 3.3, < 3.3.7 3.3.7
Canonical Juju >= 3.1, < 3.1.10 3.1.10
Canonical Juju >= 2.9, < 2.9.51 2.9.51
Canonical Juju < 2.9.51 2.9.51
Canonical Juju >= 3.1.0, < 3.1.10 3.1.10
Canonical Juju >= 3.2.0, < 3.2.4 3.2.4
Canonical Juju >= 3.3.0, < 3.3.7 3.3.7
Canonical Juju >= 3.5.0, < 3.5.4 3.5.4

References