# CVE-2024-6984: GO-2024-3010 - in github.com/juju/juju

Source: https://junglewise.ai/threats/cve-2024-6984-juju-s-unprivileged-user-running-on-charm-node-can-leak-any-secret  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-08-06  
License: CC BY 4.0 with a link back

CVE-2024-6984 · Severity: low · CVSS 3.1 · Published 2024-08-06

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

Technologies: [github.com/juju/juju (Go)](https://junglewise.ai/threats/technologies/github-com-juju-juju). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2024-6984 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-6984 being exploited in the wild.

**How severe is CVE-2024-6984?** Low severity, with a CVSS score of 3.1, published 6 August 2024.

**Which products and versions are affected?** github.com/juju/juju (Go) SEMVER:introduced=0, SEMVER:introduced=0,fixed=2.9.50.

**Is there a fix for CVE-2024-6984?** Yes. github.com/juju/juju (Go): upgrade to 2.9.50 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2024-6984?** Check whether you run github.com/juju/juju (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/juju/juju (Go): upgrade to 2.9.50 or later

  ```sh
  go get github.com/juju/juju@v2.9.50
  ```


## Affected products

- github.com/juju/juju (Go) SEMVER:introduced=0, SEMVER:introduced=0,fixed=2.9.50

## Identifiers

- CVE-2024-6984
- GHSA-6vjm-54vp-mxhx
- GO-2024-3010
- GO-2024-3040

## Related threats

- [Canonical Juju race condition in API server userTokens map](https://junglewise.ai/threats/cve-2026-5774-canonical-juju-race-condition-in-api-server-usertokens-map)
- [Canonical Juju improper authorization in Controller facade](https://junglewise.ai/threats/cve-2026-5412-canonical-juju-improper-authorization-in-controller-facade)
- [Canonical Juju incorrect authorization in resource handler](https://junglewise.ai/threats/cve-2025-68153-canonical-juju-incorrect-authorization-in-resource-handler)
- [Canonical Juju Incorrect Authorization in Debug Log Endpoint](https://junglewise.ai/threats/cve-2025-68152-canonical-juju-incorrect-authorization-in-debug-log-endpoint)
- [Juju has Improper TLS Client/Server authentication and certificate verification on Database Cluster](https://junglewise.ai/threats/cve-2026-4370-juju-has-improper-tls-client-server-authentication-and-certificate)
