Live threats

All CVEs / Canonical

CVE-2024-8037Canonical Juju

Medium 6.5

Priority
39
CVSS 3.1
6.5
EPSS
0.2%
probability of exploitation in 30 days · percentile 9
Auth required
Yes
Published
Oct 2, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-276
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:H

What happens

Vulnerable juju hook tool abstract UNIX domain socket. When combined with an attack of JUJU_CONTEXT_ID, any user on the local system with access to the default network namespace may connect to the @/var/lib/juju/agents/unit-xxxx-yyyy/agent.socket and perform actions that are normally reserved to a juju charm.

Original NVD text.

What to do

  1. Apply the vendor's security update for Juju.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/juju/juju < 0.0.0-20240820065804-2f2ec128ef5a 0.0.0-20240820065804-2f2ec128ef5a go get github.com/juju/juju@v0.0.0-20240820065804-2f2ec128ef5a
Go github.com/juju/juju < 0.0.0-20240820065804-2f2ec128ef5a 0.0.0-20240820065804-2f2ec128ef5a go get github.com/juju/juju@v0.0.0-20240820065804-2f2ec128ef5a

Per OSV / GitHub Advisories (GHSA-8v4w-f4r9-7h6x, GO-2024-3174). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
canonicaljuju< 2.9.51
canonicaljuju≥ 3.1.0 < 3.1.10
canonicaljuju≥ 3.2.0 ≤ 3.2.4
canonicaljuju≥ 3.3.0 < 3.3.7
canonicaljuju≥ 3.4 < 3.4.6
canonicaljuju≥ 3.5.0 < 3.5.4

Official sources

References

Links published by the sources. Open them with care.