Improper Privilege Management Affecting github.com/juju/juju/worker/uniter package, versions <2.9.51>=3.1.0 <3.1.10>=3.3.0 <3.3.7>=3.4.0 <3.4.6>=3.5.0 <3.5.4


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (11th 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 Improper Privilege Management vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMJUJUJUJUWORKERUNITER-8161187
  • published3 Oct 2024
  • disclosed2 Oct 2024
  • creditHarry Pidcock, phvalguima

Introduced: 2 Oct 2024

CVE-2024-8037  (opens in a new tab)
CWE-269  (opens in a new tab)

How to fix?

Upgrade github.com/juju/juju/worker/uniter to version 2.9.51, 3.1.10, 3.3.7, 3.4.6, 3.5.4 or higher.

Overview

Affected versions of this package are vulnerable to Improper Privilege Management through the agent.socket. An attacker can perform actions that are normally reserved to a juju charm by exploiting the JUJU_CONTEXT_ID in combination with access to the default network namespace.

CVSS Scores

version 4.0
version 3.1