{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-8037","id":"CVE-2024-8037","title":"Vulnerable juju hook tool abstract UNIX domain socket","description":"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.","descriptionLong":"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.","published":"2024-10-02T10:12:32.318Z","updated":"2026-10-28T02:30:54.081788121Z","reserved":"2024-08-21T00:45:34.399Z","status":"Analyzed","rejected":false,"assigner":"canonical","metric":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:H","rating":"medium","source":"canonical"},"metrics":[{"version":"4.0","score":null,"vector":"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","rating":"medium","source":"GitHub"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:H","rating":"medium","source":"canonical"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:H","rating":"medium","source":"ubuntu.com"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:H","rating":"medium","source":"OSV"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:H","rating":"medium","source":"GitHub"}],"rating":"medium","products":["Canonical Ltd. Juju"],"affectedProducts":[{"vendor":"Canonical Ltd.","product":"Juju","defaultStatus":null,"versions":[{"status":"affected","version":"3.5","lessThan":"3.5.4","versionType":"semver"},{"status":"affected","version":"3.4","lessThan":"3.4.6","versionType":"semver"},{"status":"affected","version":"3.3","lessThan":"3.3.7","versionType":"semver"},{"status":"affected","version":"3.1","lessThan":"3.1.10","versionType":"semver"},{"status":"affected","version":"2.9","lessThan":"2.9.51","versionType":"semver"}],"platforms":["Linux"]}],"packages":[{"ecosystem":"Go","name":"github.com/juju/juju","purl":"pkg:golang/github.com/juju/juju","ranges":["<0.0.0-20240820065804-2f2ec128ef5a"],"fixed":["0.0.0-20240820065804-2f2ec128ef5a"],"advisory":"GHSA-8v4w-f4r9-7h6x"}],"cwes":["CWE-276","CWE-284"],"aliases":["GHSA-8v4w-f4r9-7h6x","GO-2024-3174"],"references":[{"url":"https://github.com/juju/juju/security/advisories/GHSA-8v4w-f4r9-7h6x","tags":["issue-tracking","Patch","Vendor Advisory","report","web","advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-8037","tags":["issue-tracking","Third Party Advisory","report"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/8xxx/CVE-2024-8037.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8037","tags":["advisory"]},{"url":"https://github.com/juju/juju","tags":["package"]},{"url":"https://github.com/juju/juju/security/advisories/GHSA-mh98-763h-m9v4","tags":["web"]},{"url":"https://github.com/juju/juju/commit/2f2ec128ef5a8ca81fc86ae79cfcdbab0007c206","tags":["web","fix"]},{"url":"https://github.com/juju/juju/blob/725800953aaa29dbeda4f806097bf838e61644dd/worker/uniter/paths.go#L222","tags":["web"]},{"url":"https://pkg.go.dev/vuln/GO-2024-3174","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00187,"epssPercentile":0.08395,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-8037","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8037","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-8037","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-8v4w-f4r9-7h6x","ok":true,"note":"GHSA-8v4w-f4r9-7h6x"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-8037","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}