CVE-2024-7558 json
JUJU_CONTEXT_ID is a predictable authentication secret
published 2024-10-02 2 y ago modified 2026-06-17 4 mo ago also GHSA-mh98-763h-m9v4 , GO-2024-3173 , EUVD-2024-3082
- cvss
- 8.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 43%
- public exploits
- 0
- none known
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.
Patch / fix
- go github.com/juju/juju 0.0.0-20240826044107-ecd7e2d0e986
- Canonical Ltd. Juju 2.9.51, 3.1.10, 3.3.7, 3.4.6, 3.5.4
- govulncheck-vulndb SLE Module for Package Hub 15 SP6, SLE Module for Package Hub 15 SP5, openSUSE Leap 15.6 +1 more 0.0.20241030T212825-150000.1.9.1
suse advisories SUSE-SU-2024:3911-1
- govulncheck-vulndb Package Hub 12 0.0.20241104T154416-5.1
- govulncheck-vulndb openSUSE Tumbleweed 0.0.20241030T212825-1.1
opensuse advisories openSUSE-SU-2024:0350-1openSUSE-SU-2024:14447-1
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.50% chance of exploitation in the next 30 days, higher than 43% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/juju/juju/security/advisories/GHSA-mh98-763h-m9v4 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.7 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:H |
| NVD | 3.1 | 8.0 | CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 8.7 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/juju/juju | <0.0.0-20240826044107-ecd7e2d0e986 |
0.0.0-20240826044107-ecd7e2d0e986 |
Affected products
- Canonical Ltd. Juju
Classification
References
-
github.com
/juju/juju/security/advisories/GHSA-mh98-763h-m9v4
issue-tracking, web, exploit, patch, vendor-advisory, advisory
-
github.com
/juju/juju/commit/ecd7e2d0e9867576b9da04871e22232f06fa0cc7
web, patch
-
cve.org
/CVERecord?id=CVE-2024-7558
issue-tracking, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-7558
advisory
-
github.com
/juju/juju
package
-
pkg.go.dev
/vuln/GO-2024-3173
web
Sources
- CVE List CVE-2024-7558
- GitHub Advisory GHSA-mh98-763h-m9v4
- NVD CVE-2024-7558
- OSV GO-2024-3173
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.