{"schema_version":"1.7.3","id":"GHSA-8v4w-f4r9-7h6x","published":"2024-10-03T16:53:20Z","modified":"2024-10-09T22:40:00Z","aliases":["CVE-2024-8037","GO-2024-3174"],"summary":"Vulnerable juju hook tool abstract UNIX domain socket","details":"### Impact\nWhen 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.\n\n### Patches\nPatch: https://github.com/juju/juju/commit/2f2ec128ef5a8ca81fc86ae79cfcdbab0007c206\nPatched in:\n- 3.5.4\n- 3.4.6\n- 3.3.7\n- 3.1.10\n- 2.9.51\n\n### Workarounds\nNo workarounds available.\n\n### References\n[GHSA-mh98-763h-m9v4](https://github.com/juju/juju/security/advisories/GHSA-mh98-763h-m9v4)\nhttps://github.com/juju/juju/blob/725800953aaa29dbeda4f806097bf838e61644dd/worker/uniter/paths.go#L222","affected":[{"package":{"name":"github.com/juju/juju","ecosystem":"Go","purl":"pkg:golang/github.com/juju/juju"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.0.0-20240820065804-2f2ec128ef5a"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/10/GHSA-8v4w-f4r9-7h6x/GHSA-8v4w-f4r9-7h6x.json"}}],"references":[{"type":"WEB","url":"https://github.com/juju/juju/security/advisories/GHSA-8v4w-f4r9-7h6x"},{"type":"WEB","url":"https://github.com/juju/juju/security/advisories/GHSA-mh98-763h-m9v4"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8037"},{"type":"WEB","url":"https://github.com/juju/juju/commit/2f2ec128ef5a8ca81fc86ae79cfcdbab0007c206"},{"type":"PACKAGE","url":"https://github.com/juju/juju"},{"type":"WEB","url":"https://github.com/juju/juju/blob/725800953aaa29dbeda4f806097bf838e61644dd/worker/uniter/paths.go#L222"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2024-3174"}],"database_specific":{"cwe_ids":["CWE-284"],"github_reviewed":true,"github_reviewed_at":"2024-10-03T16:53:20Z","nvd_published_at":null,"severity":"MODERATE"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:H/SA:H"}]}