CVE-2024-6984 Juju's unprivileged user running on charm node can leak any secret or relation data accessible to the local charm

High 8.8 Published Updated

A local unprivileged attacker can leak sensitive context IDs in Juju, allowing access to other sensitive data or relations accessible to the local charm.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-6984?

CVE-2024-6984 is a high-severity vulnerability in Canonical Ltd. Juju, published on 29 Jul 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Weakness: CWE-209

Which versions are affected by CVE-2024-6984?

12 open source packages ship an affected version, including github.com/juju/juju. It affects 1 product.

PackageAffectedFixed in
github.com/juju/juju GoAll versionsNone
github.com/juju/juju GoAll versionsNone
github.com/juju/juju GoAll versions2.9.50
github.com/juju/juju GoAll versions2.9.50
github.com/juju/juju GoFrom 3.0.03.1.9
github.com/juju/juju GoFrom 3.0.03.1.9
6 more packages
github.com/juju/juju GoFrom 3.2.03.3.6
github.com/juju/juju GoFrom 3.2.03.3.6
github.com/juju/juju GoFrom 3.4.03.4.5
github.com/juju/juju GoFrom 3.4.03.4.5
github.com/juju/juju GoFrom 3.5.03.5.3
github.com/juju/juju GoFrom 3.5.03.5.3

Products include Canonical Juju.

How do I fix CVE-2024-6984?

Upgrade github.com/juju/juju to a fixed version for your release line: 2.9.50, 3.1.9, 3.3.6 or 3.4.5.

Is CVE-2024-6984 being exploited?

There is no known exploitation of CVE-2024-6984 in the wild and no public exploit code.

Sources

Also known as GHSA-6vjm-54vp-mxhx, GO-2024-3010, GO-2024-3040.

Is CVE-2024-6984 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free