{"id":"CVE-2024-8037","aliases":["GHSA-8v4w-f4r9-7h6x","GO-2024-3174"],"url":"https://o3.security/vulnerability/CVE-2024-8037","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","published":"2024-10-02T10:12:32.318Z","modified":"2026-08-12T03:51:28.619219188Z","cvss":{"score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"github.com/juju/juju","fixedVersion":"0.0.0-20240820065804-2f2ec128ef5a"}],"fix":{"url":"https://github.com/juju/juju/commit/2f2ec128ef5a8ca81fc86ae79cfcdbab0007c206","label":"juju/juju@2f2ec12"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/8xxx/CVE-2024-8037.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8037"},{"type":"REPORT","url":"https://github.com/juju/juju/security/advisories/GHSA-8v4w-f4r9-7h6x"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-8037"},{"type":"PACKAGE","url":"https://github.com/juju/juju"},{"type":"WEB","url":"https://github.com/juju/juju/security/advisories/GHSA-mh98-763h-m9v4"},{"type":"WEB","url":"https://github.com/juju/juju/commit/2f2ec128ef5a8ca81fc86ae79cfcdbab0007c206"},{"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"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:28.619219188Z"}}