CVE-2024-6984
lowpriority · track · 15EPSS 0.004 · 32 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–high · 3.5–8.8
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (16)
Products and version ranges known to be affected.
advisories (3)
Vendor and ecosystem advisories describing this.
- GHSA-6vjm-54vp-mxhxJuju's unprivileged user running on charm node can leak any secret or relation data accessible to the local charm2024-08-05ghsa · osvUS
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. A potential exploit where a user can run a bash loop attempting to execute hook tools. If running while another hook is executing, we log an error with the context ID, making it possible for the user to then use that ID in a following call successfully. This means an unprivileged user can access anything available via a hook tool such as config, relation data and secrets.
- GO-2024-3010CVE-2024-6984 in github.com/juju/juju2024-08-06vendor · osvUS
CVE-2024-6984 in github.com/juju/juju. NOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions. (If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.) The additional affected modules and versions are: github.com/juju/juju from v2.9.0 before v2.9.50, from v3.1.0 before v3.1.9, from v3.3.0 before v3.3.5, from v3.4.0 before v3.4.5, from v3.5.0 before v3.5.3.
- GO-2024-3040Juju's unprivileged user running on charm node can leak any secret or relation data accessible to the local charm in github.com/juju/juju2024-08-06vendor · osvUS
Juju's unprivileged user running on charm node can leak any secret or relation data accessible to the local charm in github.com/juju/juju. NOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions. (If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.) The additional affected modules and versions are: github.com/juju/juju before v2.9.50, from v3.0.0 before v3.1.9, from v3.2.0 before v3.3.6, from v3.4.0 before v3.4.5, from v3.5.0 before v3.5.3.
also known as (5)
Other names and identifiers for this entity.
- CNNVD-202407-2727cnnvd
- EUVD-2024-47965enisa_euvd
- GHSA-6vjm-54vp-mxhxosv
- GO-2024-3010osv
- GO-2024-3040osv
sources
Which sources assert this record, and when.
references (10)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2024-6984/cnnvd
- https://github.com/juju/juju/commit/da929676853092a29ddf8d589468cf85ba3efaf2cnnvd
- https://github.com/juju/juju/security/advisories/GHSA-6vjm-54vp-mxhxcnnvd
- https://www.cve.org/CVERecord?id=CVE-2024-6984cnnvd
- https://github.com/juju/juju/commit/da929676853092a29ddf8d589468cf85ba3efaf2enisa_euvd
- https://github.com/juju/juju/security/advisories/GHSA-6vjm-54vp-mxhxenisa_euvd
- https://www.cve.org/CVERecord?id=CVE-2024-6984enisa_euvd
- https://github.com/juju/juju/commit/da929676853092a29ddf8d589468cf85ba3efaf2Patchnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan