CVE-2017-9232: Github.com/juju/juju Juju Uses A UNIX Domain Vulnerability
CRITICALCVE-2017-9232 is a CRITICAL (CVSS 9.8) juju uses a unix domain vulnerability (CWE-862: Missing Authorization) affecting Github.com/juju/juju libraries in the Go ecosystem. The issue involves juju uses a unix domain socket without setting appropriate permissions. Remediation is available by upgrading affected packages to version 0.0.0-20170524231039-0417178a3c28.
CVE-2017-9232 at a Glance
Security Impact
CVSS: 9.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2017-9232
To remediate this vulnerability, upgrade all affected Github.com/juju/juju dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/juju/juju to 0.0.0-20170524231039-0417178a3c28
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/juju/juju
How to Check if You Are Affected
To determine whether your application is affected by CVE-2017-9232, inspect your project dependencies for Github.com/juju/juju:
inspect dependencies for github.com/juju/juju
Analyze the terminal output to locate any version of Github.com/juju/juju in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.0.0-20170524231039-0417178a3c28), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-862: Missing Authorization, where the product does not perform an authorization check when an actor attempts to access a resource or perform an action. In Github.com/juju/juju, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2017-9232 Affected Github.com/juju/juju Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/juju/juju
|
Go |
< 0.0.0-20170524231039-0417178a3c28
|
0.0.0-20170524231039-0417178a3c28
|
References
Frequently Asked Questions
What is CVE-2017-9232?
Which Github.com/juju/juju versions are affected?
What version fixes CVE-2017-9232?
Is github.com/juju/juju affected?
What is the CVSS score of CVE-2017-9232?
What CWE is associated with CVE-2017-9232?
How can I check Go dependencies for CVE-2017-9232?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-j3hp-pv6v-rgrx",
"modified" : "2025-04-22T19:36:17Z",
"published" : "2022-05-13T01:47:51Z",
"aliases" : [ "CVE-2017-9232" ],
"summary" : "Juju uses a UNIX domain socket without setting appropriate permissions",
"details" : "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" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/juju/juju"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.0.0-20170524231039-0417178a3c28"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-9232"
}, {
"type" : "WEB",
"url" : "https://github.com/juju/juju/commit/0417178a3c2869537860e8b3b5e787ce1732231f"
}, {
"type" : "WEB",
"url" : "https://bugs.launchpad.net/juju/+bug/1682411"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/juju/juju"
}, {
"type" : "WEB",
"url" : "https://www.exploit-db.com/exploits/44023"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-862" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2025-04-22T19:36:16Z",
"nvd_published_at" : "2017-05-28T00:29:00Z"
}
}