github.com/juju/juju
Affected
- introduced
0, fixed0.0.0-20240820065804-2f2ec128ef5a(semver)
Fixed versions
0.0.0-20240820065804-2f2ec128ef5a
Fix
- Fixed version
0.0.0-20240820065804-2f2ec128ef5ago get github.com/juju/[email protected]
Advisory
Also known as: CVE-2024-8037, GO-2024-3174
Vulnerable juju hook tool abstract UNIX domain socket
Impact
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.
Patches
Patch: https://github.com/juju/juju/commit/2f2ec128ef5a8ca81fc86ae79cfcdbab0007c206
Patched in:
Workarounds
No workarounds available.
References
GHSA-mh98-763h-m9v4
https://github.com/juju/juju/blob/725800953aaa29dbeda4f806097bf838e61644dd/worker/uniter/paths.go#L222
Medium Basis: The source's own band: MODERATE
0, fixed 0.0.0-20240820065804-2f2ec128ef5a (semver)0.0.0-20240820065804-2f2ec128ef5a
0.0.0-20240820065804-2f2ec128ef5ago get github.com/juju/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0