{"id":"CVE-2017-9232","aliases":["EUVD-2017-18170","GHSA-j3hp-pv6v-rgrx","GO-2025-3639","UBUNTU-CVE-2017-9232","USN-3300-1","openSUSE-SU-2025:15033-1"],"status":"published","title":"Juju uses a UNIX domain socket without setting appropriate permissions","description":"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.","severity":{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.48501,"percentile":0.98877,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-862"],"published":"2017-05-26T00:00:00Z","modified":"2026-10-24T10:30:47Z","exploits":[{"source":"metasploit","id":"exploit/linux/local/juju_run_agent_priv_esc","title":"Juju-run Agent Privilege Escalation","type":"exploit","platform":"Linux","date":"2017-04-13","verified":true,"url":"https://www.rapid7.com/db/modules/exploit/linux/local/juju_run_agent_priv_esc"},{"source":"exploitdb","id":"EDB-44023","title":"Juju-run Agent - Privilege Escalation (Metasploit)","type":"local","platform":"linux","date":"2018-02-12","verified":true,"url":"https://www.exploit-db.com/exploits/44023"}],"fixes":[{"ecosystem":"Go","package":"github.com/juju/juju","fixed_in":["0.0.0-20170524231039-0417178a3c28"],"sources":["ghsa","osv"]},{"ecosystem":"Ubuntu:14.04:LTS","package":"juju-core","fixed_in":["1.25.6-0ubuntu1.14.04.2"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"juju-core","fixed_in":["2.0.2-0ubuntu0.16.04.2"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"juju-core-1","fixed_in":["1.25.6-0ubuntu1.16.04.2"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/juju/juju","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0.0-20170524231039-0417178a3c28"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/juju/juju","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.0.0-20170524231039-0417178a3c28"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/juju/juju","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.0.0-20170524231039-0417178a3c28"}]}]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"juju-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.25.6-0ubuntu1.14.04.2"}]}],"versions":["1.16.0-0ubuntu1","1.16.2-0ubuntu1","1.16.3-0ubuntu1","1.16.4-0ubuntu1","1.16.5-0ubuntu1","1.17.0-0ubuntu2","1.17.0-0ubuntu3","1.17.1-0ubuntu2","1.17.2-0ubuntu2","1.17.2-0ubuntu3","1.17.2-0ubuntu4","1.17.3-0ubuntu1","1.17.4-0ubuntu1","1.17.4-0ubuntu2","1.17.6-0ubuntu1","1.17.7-0ubuntu1","1.18.0-0ubuntu1","1.18.1-0ubuntu1","1.18.4+dfsg-0ubuntu0.14.04.1","1.20.11-0ubuntu0.14.04.1","1.22.6-0ubuntu1~14.04.1","1.22.8-0ubuntu1~14.04.1","1.24.7-0ubuntu1~14.04.1","1.25.5-0ubuntu3~14.04.1","1.25.6-0ubuntu1.14.04.1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"juju-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.2-0ubuntu0.16.04.2"}]}],"versions":["1.24.6-0ubuntu3","1.25.0-0ubuntu1","1.25.0-0ubuntu2","1.25.0-0ubuntu3","2.0~beta4-0ubuntu2","2.0~beta6-0ubuntu1.16.04.1","2.0~beta7-0ubuntu1.16.04.1","2.0~beta12-0ubuntu1.16.04.1","2.0~beta15-0ubuntu2.16.04.1","2.0.0-0ubuntu0.16.04.2","2.0.2-0ubuntu0.16.04.1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"juju-core-1","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.25.6-0ubuntu1.16.04.2"}]}],"versions":["1.25.4-0ubuntu5","1.25.5-0ubuntu1","1.25.5-0ubuntu3","1.25.6-0ubuntu1.16.04.1"]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"juju-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.25.6-0ubuntu1.14.04.2"}]}],"versions":["1.16.0-0ubuntu1","1.16.2-0ubuntu1","1.16.3-0ubuntu1","1.16.4-0ubuntu1","1.16.5-0ubuntu1","1.17.0-0ubuntu2","1.17.0-0ubuntu3","1.17.1-0ubuntu2","1.17.2-0ubuntu2","1.17.2-0ubuntu3","1.17.2-0ubuntu4","1.17.3-0ubuntu1","1.17.4-0ubuntu1","1.17.4-0ubuntu2","1.17.6-0ubuntu1","1.17.7-0ubuntu1","1.18.0-0ubuntu1","1.18.1-0ubuntu1","1.18.4+dfsg-0ubuntu0.14.04.1","1.20.11-0ubuntu0.14.04.1","1.22.6-0ubuntu1~14.04.1","1.22.8-0ubuntu1~14.04.1","1.24.7-0ubuntu1~14.04.1","1.25.5-0ubuntu3~14.04.1","1.25.6-0ubuntu1.14.04.1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"juju-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.2-0ubuntu0.16.04.2"}]}],"versions":["1.24.6-0ubuntu3","1.25.0-0ubuntu1","1.25.0-0ubuntu2","1.25.0-0ubuntu3","2.0~beta4-0ubuntu2","2.0~beta6-0ubuntu1.16.04.1","2.0~beta7-0ubuntu1.16.04.1","2.0~beta12-0ubuntu1.16.04.1","2.0~beta15-0ubuntu2.16.04.1","2.0.0-0ubuntu0.16.04.2","2.0.2-0ubuntu0.16.04.1"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"govulncheck-vulndb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0.20250424T181457-1.1"}]}],"bundled":5}],"products":[{"vendor":"canonical","product":"juju"}],"references":[{"url":"https://bugs.launchpad.net/juju/+bug/1682411","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://www.exploit-db.com/exploits/44023/","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred","web"]},{"url":"http://www.securityfocus.com/bid/98737","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-9232","tags":["advisory"]},{"url":"https://www.exploit-db.com/exploits/44023","tags":["web"]},{"url":"https://github.com/juju/juju/commit/0417178a3c2869537860e8b3b5e787ce1732231f","tags":["web","fix"]},{"url":"https://github.com/advisories/GHSA-j3hp-pv6v-rgrx","tags":["advisory"]},{"url":"https://github.com/juju/juju","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2017-9232","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-3300-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-9232","tags":["report"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/FCMCOT6M37QF2P6G2RKTQYT3ZKNAKIUV/","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2017-14992","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-9232","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2025-35965","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2025-41395","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2025-41423","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2017-9232","description":"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.","status":"published","published":"2017-05-28T00:00:00Z","modified":"2024-08-05T17:02:44.062Z","updated_at":"2026-11-02T14:33:13.96587Z"}],"euvd":[{"id":"EUVD-2017-18170","description":"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.","status":"published","published":"2017-05-28T00:00:00Z","modified":"2024-08-05T17:02:44Z","updated_at":"2026-11-03T02:23:28.642509Z"}],"ghsa":[{"id":"GHSA-j3hp-pv6v-rgrx","title":"Juju uses a UNIX domain socket without setting appropriate permissions","description":"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.","status":"published","published":"2022-05-13T01:47:51Z","modified":"2025-04-22T19:36:18Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-862"],"updated_at":"2026-11-02T14:38:40.628275Z"}],"nvd":[{"id":"CVE-2017-9232","description":"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.","status":"published","published":"2017-05-28T00:29:00.453Z","modified":"2026-06-17T01:27:43.617Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-862"],"updated_at":"2026-11-02T14:03:49.449157Z"}],"osv":[{"id":"CVE-2017-9232","description":"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.","status":"published","published":"2017-05-28T00:29:00.453Z","modified":"2026-10-24T10:30:47.480548132Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:06.868403Z"},{"id":"GHSA-j3hp-pv6v-rgrx","title":"Juju uses a UNIX domain socket without setting appropriate permissions","description":"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.","status":"published","published":"2022-05-13T01:47:51Z","modified":"2025-04-24T18:41:58.767735Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-862"],"updated_at":"2026-11-02T15:46:49.977351Z"},{"id":"UBUNTU-CVE-2017-9232","description":"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.","status":"published","published":"2017-05-26T00:00:00Z","modified":"2026-02-04T04:34:46.234622Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:54:16.154988Z"},{"id":"GO-2025-3639","title":"Juju uses a UNIX domain socket without setting appropriate permissions in github.com/juju/juju","description":"Juju uses a UNIX domain socket without setting appropriate permissions in github.com/juju/juju","status":"published","published":"2025-04-24T18:14:02Z","modified":"2026-03-03T04:56:31.745324Z","updated_at":"2026-11-02T15:47:01.728182Z"},{"id":"openSUSE-SU-2025:15033-1","title":"govulncheck-vulndb-0.0.20250424T181457-1.1 on GA media","description":"These are all security issues fixed in the govulncheck-vulndb-0.0.20250424T181457-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2025-04-26T00:00:00Z","modified":"2025-05-07T18:09:36.223252Z","updated_at":"2026-11-02T16:58:37.399567Z"},{"id":"USN-3300-1","title":"juju-core vulnerability","description":"Ryan Beisner discovered juju did not set permissions on a Unix domain\nsocket. A local attacker could use this flaw to gain administrative\nprivileges.\n","status":"published","published":"2017-05-26T20:40:39Z","modified":"2026-02-10T04:41:08Z","updated_at":"2026-11-02T16:58:13.496563Z"}]}}
