# CVE-2024-7558: GO-2024-3173 - JUJU_CONTEXT_ID is a predictable authentication secret in github.com/juju/juju

Source: https://junglewise.ai/threats/cve-2024-7558-juju-context-id-is-a-predictable-authentication-secret  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-10-09  
License: CC BY 4.0 with a link back

CVE-2024-7558 · Severity: low · CVSS 3.1 · Published 2024-10-09

JUJU_CONTEXT_ID is a predictable authentication secret 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-7558 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-7558 being exploited in the wild.

**How severe is CVE-2024-7558?** Low severity, with a CVSS score of 3.1, published 9 October 2024.

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

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

**Am I affected by CVE-2024-7558?** 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 0.0.0-20240826044107-ecd7e2d0e986 or later

  ```sh
  go get github.com/juju/juju@v0.0.0-20240826044107-ecd7e2d0e986
  ```


## Affected products

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

## Identifiers

- CVE-2024-7558
- GHSA-mh98-763h-m9v4
- GO-2024-3173

## 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)
