CVE-2024-8037: canonical ltd. juju Incorrect Default Permissions
Vulnerability summary
CVE-2024-8037 is a medium (CVSS 6.5) Incorrect Default Permissions vulnerability in canonical ltd. juju. EPSS estimates a 0.19% chance of exploitation in the next 30 days, higher than 8.6% of scored vulnerabilities.
Not severe (CVSS 6.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 3 · Related 3Timeline
- 02-10-2024PublishedVulnerability first disclosed.
- 01-11-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · GoEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:H
- NVDNIST6.5MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:H
EPSS trend
Probability
0.19%
Chance of exploitation in the next 30 days
Percentile
9%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.19% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Canonical1 product
- juju< 2.9.51 | ≥ 3.1.0, < 3.1.10 | ≥ 3.2.0, ≤ 3.2.4 | ≥ 3.3.0, < 3.3.7 | ≥ 3.4, < 3.4.6 | ≥ 3.5.0, < 3.5.4
Canonical ltd.1 product
- juju≥ 3.5, < 3.5.4 | ≥ 3.4, < 3.4.6 | ≥ 3.3, < 3.3.7 | ≥ 3.1, < 3.1.10 | ≥ 2.9, < 2.9.51
Github.com/juju1 product
- juju< 0.0.0-20240820065804-2f2ec128ef5a
3 vendors · 3 products
References
8 links- github.com/juju/juju/security/advisories/GHSA-8v4w-f4r9-7h6xIssue TrackingWEBAdvisoryPatchVendor Advisory
- github.com/juju/jujuPACKAGE