High severity · published Oct 2, 2024
CVE-2024-7558
JUJU_CONTEXT_ID is a predictable authentication secret
8.0
CVSS
0.5%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Adjacent
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 43% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
JU
Juju · Canonical
before 2.9.51; 3.1.0 before 3.1.10; 3.2.0 before 3.2.4; 3.3.0 before 3.3.7; 3.4 before 3.4.6; 3.5.0 before 3.5.4 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-7558
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-7558
Exploit
https://github.com/juju/juju/security/advisories/GHSA-mh98-763h-m9v4
Third Party Advisory
https://www.cve.org/CVERecord?id=CVE-2024-7558
More from Juju
10.0
CVE-2026-4370
Improper TLS Client/Server authentication and certificate verification on Database Cluster
9.8
CVE-2017-9232
Juju before 1.25.12, 2.0.x before 2.0.4, and 2.1.x before 2.1.3 uses a UNIX domain socket without setting appropriate permissions, allowing privilege escalation by users on the…
8.8
CVE-2026-32693
Unauthorized access to Kubernetes secrets in Juju
8.8
CVE-2025-0928
In Juju versions prior to 3.6.8 and 2.9.52, any authenticated controller user was allowed to upload arbitrary agent binaries to any model or to the controller itself, without…
7.5
CVE-2015-1316
Juju Core's Joyent provider before version 1.25.5 uploads the user's private ssh key
