CVE-2024-8037Canonical Juju
Medium 6.5
Follow: this CVE · Canonical · Canonical Juju We alert you by email or Slack (account required).
- Priority
- 39
- CVSS 3.1
- 6.5
- EPSS
- 0.2% probability of exploitation in 30 days · percentile 9
- Auth required
- Yes
- Published
- Oct 2, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-276
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:H
What happens
Vulnerable juju hook tool abstract UNIX domain socket. When combined with an attack of JUJU_CONTEXT_ID, any user on the local system with access to the default network namespace may connect to the @/var/lib/juju/agents/unit-xxxx-yyyy/agent.socket and perform actions that are normally reserved to a 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-20240820065804-2f2ec128ef5a |
0.0.0-20240820065804-2f2ec128ef5a |
go get github.com/juju/juju@v0.0.0-20240820065804-2f2ec128ef5a |
| Go | github.com/juju/juju |
< 0.0.0-20240820065804-2f2ec128ef5a |
0.0.0-20240820065804-2f2ec128ef5a |
go get github.com/juju/juju@v0.0.0-20240820065804-2f2ec128ef5a |
Per OSV / GitHub Advisories (GHSA-8v4w-f4r9-7h6x, GO-2024-3174). 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 Patch Vendor Advisory
- www.cve.org Third Party Advisory