patchminder
Weaponized · Metasploit CVE-2017-9232

Privilege escalationin the github.com/juju/juju package.

Published 28 May 2017 · Updated 5 Aug 2024 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Weaponized: a Metasploit exploit is public.

Attack code is public
Severity
Critical 9.8
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.0 · no login needed
Attack likelihood
High
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 48.5% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 0.0.0-20170524231039-0417178a3c28 or later
In plain words

Juju before 1.25.12, 2.0.x before 2.0.4, and 2.1.x before 2.1.3 uses a UNIX domain socket without setting appropriate permissions, allowing privilege escalation by users on the system to root.

What to do now
  • Upgrade github.com/juju/juju (Go) to 0.0.0-20170524231039-0417178a3c28 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
n/a
Not confirmed
Not confirmed
CVE record
github.com/juju/juju (Go)
before 0.0.0-20170524231039-0417178a3c28
0.0.0-20170524231039-0417178a3c28
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 13 Apr 2017
    Metasploit module: Juju-run Agent Privilege Escalation.
  2. 24 May 2017
    CVE ID reserved by mitre.
  3. 28 May 2017
    Published in the CVE List.
  4. 5 Aug 2024
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Weaponized (Metasploit).

Metasploit module
1 module
Nuclei scan template
None known
Exploit-DB
1 entry
GitHub proof of concepts
None known
MetasploitJuju-run Agent Privilege Escalationrank excellent
Exploit-DBEDB-ID 44023local exploit for linux, published 12 Feb 2018, verified by Exploit-DB
Referencewww.exploit-db.comnamed as exploit in the CVE record

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other vulnerabilities in this package

References
Cite this page

Patchminder. CVE-2017-9232: Privilege escalation in the github.com/juju/juju package. https://patchminder.com/cve/cve-2017-9232/ (accessed 5 December 2026).