CVE-2024-8037
MEDIUM 6.5CVSS 3.1Vulnerable juju hook tool abstract UNIX domain socket
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
- 2 Oct 2024
- Last modified
- 17 Jun 2026
- Assigned by
- security@ubuntu.com
- NVD status
- Analyzed
- Weakness
- CWE-276CWE-284
- Also known as
- GHSA-8v4w-f4r9-7h6xGO-2024-3174
- Sources
- NVDJSONOSV GHSA-8v4w-f4r9-7h6xJSONOSV GO-2024-3174JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | security@ubuntu.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | canonical | jujucpe:2.3:a:canonical:juju:*:*:*:*:*:*:*:* |
< 2.9.51 | 2.9.51 |
| NVD | canonical | jujucpe:2.3:a:canonical:juju:*:*:*:*:*:*:*:* |
>= 3.1.0, < 3.1.10 | 3.1.10 |
| NVD | canonical | jujucpe:2.3:a:canonical:juju:*:*:*:*:*:*:*:* |
>= 3.2.0, <= 3.2.4 | |
| NVD | canonical | jujucpe:2.3:a:canonical:juju:*:*:*:*:*:*:*:* |
>= 3.3.0, < 3.3.7 | 3.3.7 |
| NVD | canonical | jujucpe:2.3:a:canonical:juju:*:*:*:*:*:*:*:* |
>= 3.4, < 3.4.6 | 3.4.6 |
| NVD | canonical | jujucpe:2.3:a:canonical:juju:*:*:*:*:*:*:*:* |
>= 3.5.0, < 3.5.4 | 3.5.4 |
| OSV | Go | github.com/juju/juju | < 0.0.0-20240820065804-2f2ec128ef5a | 0.0.0-20240820065804-2f2ec128ef5a |
References
- https://github.com/juju/juju/security/advisories/GHSA-8v4w-f4r9-7h6x · Patch, Vendor Advisory, WEB, ADVISORY
- https://www.cve.org/CVERecord?id=CVE-2024-8037 · Third Party Advisory
- https://github.com/juju/juju/security/advisories/GHSA-mh98-763h-m9v4 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-8037 · ADVISORY
- https://github.com/juju/juju/commit/2f2ec128ef5a8ca81fc86ae79cfcdbab0007c206 · WEB, FIX
- https://github.com/juju/juju · PACKAGE
- https://github.com/juju/juju/blob/725800953aaa29dbeda4f806097bf838e61644dd/worker/uniter/paths.go#L222 · WEB
- https://pkg.go.dev/vuln/GO-2024-3174 · WEB
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 2 Oct 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 9 Oct 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 3 Oct 2024)