CVE-2024-7558Canonical Juju
High 8.0
Follow: this CVE · Canonical · Canonical Juju We alert you by email or Slack (account required).
- Priority
- 48
- CVSS 3.1
- 8.0
- EPSS
- 0.5% probability of exploitation in 30 days · percentile 32
- Auth required
- Yes
- Published
- Oct 2, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Juju.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/juju/juju |
< 0.0.0-20240826044107-ecd7e2d0e986 |
0.0.0-20240826044107-ecd7e2d0e986 |
go get github.com/juju/juju@v0.0.0-20240826044107-ecd7e2d0e986 |
| Go | github.com/juju/juju |
< 0.0.0-20240826044107-ecd7e2d0e986 |
0.0.0-20240826044107-ecd7e2d0e986 |
go get github.com/juju/juju@v0.0.0-20240826044107-ecd7e2d0e986 |
Per OSV / GitHub Advisories (GHSA-mh98-763h-m9v4, GO-2024-3173). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| canonical | juju | < 2.9.51 |
| canonical | juju | ≥ 3.1.0 < 3.1.10 |
| canonical | juju | ≥ 3.2.0 < 3.2.4 |
| canonical | juju | ≥ 3.3.0 < 3.3.7 |
| canonical | juju | ≥ 3.4 < 3.4.6 |
| canonical | juju | ≥ 3.5.0 < 3.5.4 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Patch Vendor Advisory
- www.cve.org Third Party Advisory