CVE-2024-6984
LOW 3.8CVSS 3.1Juju's unprivileged user running on charm node can leak any secret or relation data accessible to the local charm
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.
- Published
- 29 Jul 2024
- Last modified
- 8 Jul 2026
- Assigned by
- security@ubuntu.com
- NVD status
- Modified
- Weakness
- CWE-209CWE-269CWE-284
- Also known as
- GHSA-6vjm-54vp-mxhxGO-2024-3010GO-2024-3040
- Sources
- NVDJSONOSV GHSA-6vjm-54vp-mxhxJSONOSV GO-2024-3010JSONOSV GO-2024-3040JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | |
| NVD | security@ubuntu.com (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | LOW 3.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | canonical | jujucpe:2.3:a:canonical:juju:*:*:*:*:*:*:*:* |
>= 2.9, < 2.9.50 | 2.9.50 |
| NVD | canonical | jujucpe:2.3:a:canonical:juju:*:*:*:*:*:*:*:* |
>= 3.1, < 3.1.9 | 3.1.9 |
| NVD | canonical | jujucpe:2.3:a:canonical:juju:*:*:*:*:*:*:*:* |
>= 3.3, < 3.3.6 | 3.3.6 |
| NVD | canonical | jujucpe:2.3:a:canonical:juju:*:*:*:*:*:*:*:* |
>= 3.4, < 3.4.5 | 3.4.5 |
| NVD | canonical | jujucpe:2.3:a:canonical:juju:*:*:*:*:*:*:*:* |
>= 3.5, < 3.5.3 | 3.5.3 |
| OSV | Go | github.com/juju/juju | < 2.9.50 | 2.9.50 |
| OSV | Go | github.com/juju/juju | >= 3.0.0, < 3.1.9 | 3.1.9 |
| OSV | Go | github.com/juju/juju | >= 3.2.0, < 3.3.6 | 3.3.6 |
| OSV | Go | github.com/juju/juju | >= 3.4.0, < 3.4.5 | 3.4.5 |
| OSV | Go | github.com/juju/juju | >= 3.5.0, < 3.5.3 | 3.5.3 |
| OSV | Go | github.com/juju/juju | all versions |
References
- https://github.com/juju/juju/commit/da929676853092a29ddf8d589468cf85ba3efaf2 · Patch, WEB, FIX
- https://github.com/juju/juju/security/advisories/GHSA-6vjm-54vp-mxhx · Exploit, Vendor Advisory, WEB, ADVISORY
- https://www.cve.org/CVERecord?id=CVE-2024-6984 · Third Party Advisory, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2024-6984 · ADVISORY, WEB
- https://github.com/juju/juju · PACKAGE
- https://pkg.go.dev/vuln/GO-2024-3010 · WEB
- https://pkg.go.dev/vuln/GO-2024-3040 · WEB
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 29 Jul 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 Aug 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 Aug 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 5 Aug 2024)