CVE-2024-8037 json
Vulnerable juju hook tool abstract UNIX domain socket
published 2024-10-02 2 y ago modified 2026-06-17 4 mo ago also GHSA-8v4w-f4r9-7h6x , GO-2024-3174 , EUVD-2024-3000
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 8%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/juju/juju 0.0.0-20240820065804-2f2ec128ef5a
- Canonical Ltd. Juju 2.9.51, 3.1.10, 3.3.7, 3.4.6, 3.5.4
- govulncheck-vulndb SLE Module for Package Hub 15 SP6, SLE Module for Package Hub 15 SP5, openSUSE Leap 15.6 +1 more 0.0.20241030T212825-150000.1.9.1
suse advisories SUSE-SU-2024:3911-1
- govulncheck-vulndb Package Hub 12 0.0.20241104T154416-5.1
- govulncheck-vulndb openSUSE Tumbleweed 0.0.20241030T212825-1.1
opensuse advisories openSUSE-SU-2024:0350-1openSUSE-SU-2024:14447-1
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.19% chance of exploitation in the next 30 days, higher than 8% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:H |
| GitHub | 3.1 | 6.5 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/juju/juju | <0.0.0-20240820065804-2f2ec128ef5a |
0.0.0-20240820065804-2f2ec128ef5a |
Affected products
- Canonical Ltd. Juju
Classification
References
-
github.com
/juju/juju/security/advisories/GHSA-8v4w-f4r9-7h6x
issue-tracking, web, patch, vendor-advisory, advisory
-
github.com
/juju/juju/commit/2f2ec128ef5a8ca81fc86ae79cfcdbab0007c206
web, patch
-
cve.org
/CVERecord?id=CVE-2024-8037
issue-tracking, third-party-advisory
-
github.com
/juju/juju/security/advisories/GHSA-mh98-763h-m9v4
web
-
nvd.nist.gov
/vuln/detail/CVE-2024-8037
advisory
-
github.com
/juju/juju
package
-
github.com
/juju/juju/blob/725800953aaa29dbeda4f806097bf838e61644dd/worker/uniter/paths.go#L222
web
-
pkg.go.dev
/vuln/GO-2024-3174
web
Sources
- CVE List CVE-2024-8037
- GitHub Advisory GHSA-8v4w-f4r9-7h6x
- NVD CVE-2024-8037
- OSV GO-2024-3174
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.