CVE-2024-6984 json
Juju's unprivileged user running on charm node can leak any secret or relation data accessible to the local charm
published 2024-07-29 2 y ago modified 2026-07-08 4 mo ago also GHSA-6vjm-54vp-mxhx , GO-2024-3010 , GO-2024-3040 , EUVD-2024-47965
- cvss
- 8.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 32%
- public exploits
- 0
- none known
Summary
An issue was discovered in Juju that resulted in the leak of the sensitive context ID, which allows a local unprivileged attacker to access other sensitive data or relation accessible to the local charm.
Patch / fix
- go github.com/juju/juju 2.9.50, 3.1.9, 3.3.6, 3.4.5, 3.5.3
- Canonical Ltd. Juju 2.9.50, 3.1.9, 3.3.5, 3.4.5, 3.5.3
- canonical juju 2.9.50, 3.1.9, 3.3.5, 3.4.5, 3.5.3
- github.com/juju/juju@da92967 commit
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
0.38% chance of exploitation in the next 30 days, higher than 32% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/juju/juju/security/advisories/GHSA-6vjm-54vp-mxhx referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVD | 3.1 | 3.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N |
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/juju/juju | <2.9.50 >=3.0.0, <3.1.9 >=3.2.0, <3.3.6 >=3.4.0, <3.4.5 >=3.5.0, <3.5.3 all versions |
2.9.50 3.1.9 3.3.6 3.4.5 3.5.3 |
Affected products
- Canonical Ltd. Juju
- canonical juju
Classification
References
-
github.com
/juju/juju/commit/da929676853092a29ddf8d589468cf85ba3efaf2
patch, web
-
github.com
/juju/juju/security/advisories/GHSA-6vjm-54vp-mxhx
issue-tracking, web, exploit, vendor-advisory, advisory
-
cve.org
/CVERecord?id=CVE-2024-6984
issue-tracking, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-6984
advisory, web
-
github.com
/juju/juju
package
-
pkg.go.dev
/vuln/GO-2024-3010
web
-
pkg.go.dev
/vuln/GO-2024-3040
web
Sources
- CVE List CVE-2024-6984
- GitHub Advisory GHSA-6vjm-54vp-mxhx
- NVD CVE-2024-6984
- OSV GO-2024-3040
- OSV GO-2024-3010
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.