Missing Authorization Affecting github.com/juju/juju/juju/sockets package, versions <1.25.12>=2.0.0 <2.0.4>=2.1.0 <2.1.3


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
74.74% (99th 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 Learn

Learn about Missing Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMJUJUJUJUJUJUSOCKETS-10494086
  • published23 Jun 2025
  • disclosed24 Apr 2025
  • creditUnknown

Introduced: 24 Apr 2025

CVE-2017-9232  (opens in a new tab)
CWE-862  (opens in a new tab)

How to fix?

Upgrade github.com/juju/juju/juju/sockets to version 1.25.12, 2.0.4, 2.1.3 or higher.

Overview

Affected versions of this package are vulnerable to Missing Authorization due to improper permission settings on a UNIX domain socket. An attacker can gain unauthorized access or perform unauthorized actions by running juju-run <self-unit-name> 'whoami' which escalates privileges to root level.

CVSS Base Scores

version 4.0
version 3.1