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

    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 ID SNYK-GOLANG-GITHUBCOMJUJUJUJUWORKERUNITER-8161187
  • published 3 Oct 2024
  • disclosed 2 Oct 2024
  • credit Harry Pidcock, phvalguima

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
Expand this section

Snyk

Recommended
5.9 medium
  • Attack Vector (AV)
    Local
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    Present
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Confidentiality (VC)
    Low
  • Integrity (VI)
    High
  • Availability (VA)
    High
  • Confidentiality (SC)
    None
  • Integrity (SI)
    None
  • Availability (SA)
    None