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.
https://www.cve.org/CVERecord?id=CVE-2024-7558
https://github.com/juju/juju/security/advisories/GHSA-mh98-763h-m9v4
Published: 2024-10-02
Updated: 2024-10-04
Base Score: 6.4
Vector: CVSS2#AV:L/AC:L/Au:S/C:P/I:C/A:C
Severity: Medium
Base Score: 8.7
Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:H
Severity: High
Base Score: 6.2
Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:H/SA:H
Severity: Medium