GitHub Advisory Database
GHSA-xwgj-vpm9-q2rq
Vulnerable juju introspection abstract UNIX domain socket
Details
Impact
An abstract UNIX domain socket responsible for introspection is available without authentication locally to any user with access to the network namespace where the local juju agent is running.
On a juju controller agent, denial of service can be performed by using the /leases/revoke endpoint. Revoking leases in juju can cause availability issues.
On a juju machine agent that is hosting units, disabling the unit component can be performed using the /units endpoint with a "stop" action.
Patches
Patch: https://github.com/juju/juju/commit/43f0fc59790d220a457d4d305f484f62be556d3b Patched in:
- 3.5.4
- 3.4.6
- 3.3.7
- 3.1.10
- 2.9.51
Workarounds
No workaround.
References
https://github.com/juju/juju/blob/725800953aaa29dbeda4f806097bf838e61644dd/worker/introspection/worker.go#L125
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/juju/juju | All versions before 0.0.0-20240829052008-43f0fc59790d (fixed in 0.0.0-20240829052008-43f0fc59790d) |
References
- https://github.com/juju/juju/security/advisories/GHSA-xwgj-vpm9-q2rq
- https://nvd.nist.gov/vuln/detail/CVE-2024-8038
- https://github.com/juju/juju/commit/43f0fc59790d220a457d4d305f484f62be556d3b
- https://github.com/juju/juju
- https://github.com/juju/juju/blob/725800953aaa29dbeda4f806097bf838e61644dd/worker/introspection/worker.go#L125
- https://pkg.go.dev/vuln/GO-2024-3175