Cyber Resilience

CVE-2024-8037

Canonical Juju ≤ 2.9.51

Published
02 October 2024
Modified
26 August 2025
Patch / advisory
CVSS Score v3.1 6.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:H
EPSS Score 0.0019 9th percentile
Risk Priority 42 floored blend · peak EPSS

Summary

CVE-2024-8037 is a medium-severity Incorrect Default Permissions (CWE-276) vulnerability in Canonical Juju. Its CVSS base score is 6.5 (Medium).

Operationally, ranked at the 9th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

to a juju charm.

CWE(s)

Related Threats

CVEs Like This One

CVE-2024-8038Same product: Canonical Juju
CVE-2025-0928Same product: Canonical Juju
CVE-2026-32692Same product: Canonical Juju
CVE-2026-32694Same product: Canonical Juju
CVE-2025-53512Same product: Canonical Juju
CVE-2026-32691Same product: Canonical Juju
CVE-2025-53513Same product: Canonical Juju
CVE-2026-32693Same product: Canonical Juju
CVE-2025-68153Same product: Canonical Juju
CVE-2026-5774Same product: Canonical Juju

Affected Assets

canonical
juju
≤ 2.9.51 · 3.1.0 — 3.1.10 · 3.2.0 — 3.2.4

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)
  • 11 hardening rules · 3 OS baselines
Validate
Prove the fix (OWASP ASVS)

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-276

Access control policy can specify and enforce secure default permissions for resources.

addresses: CWE-276

Guides setting of default permissions to the minimum required level.

addresses: CWE-276

Establishes requirements for appropriate default permissions on system resources as part of configuration management.

addresses: CWE-276

Baseline establishment and updates on install/upgrade ensure correct default permissions rather than insecure ones.

addresses: CWE-276

Requiring the most restrictive settings instead of defaults prevents incorrect default permissions on resources.

addresses: CWE-276

Requires documented processes that include setting and maintaining correct default permissions for configuration items.

addresses: CWE-276

Requires addressing secure default permissions in physical and environmental protection controls.

addresses: CWE-276

Tailoring explicitly overrides or scopes default permission assignments in the baseline to match the system's actual risk and operational needs.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-01 full match
prevents

Hardened baselines and configuration management explicitly require correct default file permissions.

PR.AA-05 mostly match
prevents

Defining and enforcing least-privilege access permissions directly prevents overly permissive defaults at install time.

ID.AM-08 partial match
prevents

Lifecycle management can encompass permission settings, yet the control is too broad to specifically mitigate incorrect defaults.

PR.PS-06 partial match
prevents

Secure SDLC practices include establishing secure defaults, but address only the development-phase portion of the weakness.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

prevents

Standard templates that restrict access to utility programs and host parameter settings prevent the assignment of overly permissive default permissions on critical resources.

Hardening callouts derived

Configuration rules from DISA STIG baselines that reduce the attack surface for weaknesses of the type cited by this CVE. Derived transitively via CVE→CWE→STIG over `controls_xwalks` (authoritative rows only).

Windows Server 2016 (1 rule)
  • V-224833 Permissions for program file directories must conform to minimum requirements. via CWE-276
Windows Server 2019 (2 rules)
  • V-205735 Windows Server 2019 permissions for program file directories must conform to minimum requirements. via CWE-276
  • V-205736 Windows Server 2019 permissions for the Windows installation directory must conform to minimum requirements. via CWE-276
Windows Server 2022 (2 rules)
  • V-254252 Windows Server 2022 permissions for program file directories must conform to minimum requirements. via CWE-276
  • V-254253 Windows Server 2022 permissions for the Windows installation directory must conform to minimum requirements. via CWE-276

References