External Control of File Name or Path Affecting github.com/juju/juju/apiserver package, versions >=2.9.22 <2.9.38>=3.0.0 <3.0.3


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.12% (32nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMJUJUJUJUAPISERVER-3337039
  • published2 Mar 2023
  • disclosed1 Mar 2023
  • creditUnknown

Introduced: 1 Mar 2023

CVE-2023-0092  (opens in a new tab)
CWE-73  (opens in a new tab)

How to fix?

Upgrade github.com/juju/juju/apiserver to version 2.9.38, 3.0.3 or higher.

Overview

Affected versions of this package are vulnerable to External Control of File Name or Path such that an authenticated user who has read access to the juju controller model, can construct a remote request to download an arbitrary file from the controller's filesystem.

Workaround

Users who are unable to upgrade to the fixed version should limit read access to the controller model to only trusted users.

CVSS Base Scores

version 3.1