CVE-2023-0092 Juju controller - Arbitrary file reading vulnerability

Medium 4.9 Published Updated

Authenticated users with read access can download arbitrary files from the Juju controller filesystem via path traversal.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-0092?

CVE-2023-0092 is a medium-severity path traversal vulnerability in Canonical Ltd. Juju, published on 31 Jan 2025. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

An authenticated user who has read access to the juju controller model, may construct a remote request to download an arbitrary file from the controller's filesystem.

Weakness: CWE-22

Which versions are affected by CVE-2023-0092?

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

PackageAffectedFixed in
github.com/juju/juju GoFrom 2.9.222.9.38
github.com/juju/juju GoFrom 2.9.222.9.38
github.com/juju/juju GoFrom 3.0.03.0.3
github.com/juju/juju GoFrom 3.0.03.0.3

Products include Canonical Juju.

How do I fix CVE-2023-0092?

Upgrade github.com/juju/juju to a fixed version for your release line: 2.9.38 or 3.0.3.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2023-0092 being exploited?

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

Sources

Also known as GHSA-x5rv-w9pm-8qp8.

Is CVE-2023-0092 in your software?

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

Check your SBOMs for free