CVE-2017-5646: Gateway provider identity assertion common Apache Knox Allows Impersonation Of Vulnerability
MODERATECVE-2017-5646 is a MODERATE (CVSS 6.8) apache knox allows impersonation of vulnerability (CWE-346: Origin Validation Error) affecting Gateway provider identity assertion common libraries in the Maven ecosystem. The issue involves apache knox allows impersonation of users. Remediation is available by upgrading affected packages to version 0.12.0.
CVE-2017-5646 at a Glance
Security Impact
CVSS: 6.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N).
How to Fix CVE-2017-5646
To remediate this vulnerability, upgrade all affected Gateway provider identity assertion common dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.apache.knox</groupId>
<artifactId>gateway-provider-identity-assertion-common</artifactId>
<version>0.12.0</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.apache.knox
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2017-5646, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.apache.knox
Analyze the terminal output to locate any version of Gateway provider identity assertion common in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.12.0), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.apache.knox command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-346: Origin Validation Error, where the product does not properly verify that the source of data or communication is valid. In Gateway provider identity assertion common, 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-5646 Affected Gateway provider identity assertion common Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.knox:gateway-provider-identity-assertion-common
|
Maven |
≥ 0.2.0
< 0.12.0
|
0.12.0
|
References
Frequently Asked Questions
What is CVE-2017-5646?
Which Gateway provider identity assertion common versions are affected?
What version fixes CVE-2017-5646?
Is gateway-provider-identity-assertion-common affected?
What is the CVSS score of CVE-2017-5646?
What CWE is associated with CVE-2017-5646?
How can I check Maven dependencies for CVE-2017-5646?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-g3fc-8jv4-qmmv",
"modified" : "2025-04-22T19:35:38Z",
"published" : "2022-05-13T01:11:15Z",
"aliases" : [ "CVE-2017-5646" ],
"summary" : "Apache Knox allows impersonation of users",
"details" : "For versions of Apache Knox from 0.2.0 to 0.11.0 - an authenticated user may use a specially crafted URL to impersonate another user while accessing WebHDFS through Apache Knox. This may result in escalated privileges and unauthorized data access. While this activity is audit logged and can be easily associated with the authenticated user, this is still a serious security issue. All users are recommended to upgrade to the Apache Knox 0.12.0 release.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.knox:gateway-provider-identity-assertion-common"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.2.0"
}, {
"fixed" : "0.12.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-5646"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/knox/commit/998dcd257dc839c9651485760da4d614c16e2ca2"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/knox"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/rcd6bcbcc08840d4e4bea661efe9a5ef8f6126ebbbc5bc266701d8f48@%3Cdev.logging.apache.org%3E"
}, {
"type" : "WEB",
"url" : "http://mail-archives.apache.org/mod_mbox/knox-user/201705.mbox/%3CCACRbFyjtT7QQGHUzTRdbJoySbJb7tt4BDk5-r-VRn0GB0Kgvag%40mail.gmail.com%3E"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-346" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-04-22T19:35:38Z",
"nvd_published_at" : "2017-05-26T21:29:00Z"
}
}