CVE-2017-5646 · apache
CVE-2017-5646
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.
Published 2017-05-26, last changed 2026-06-17. Weakness: CWE-346.
How to fix
Upgrade to a fixed version: org.apache.knox:gateway-provider-identity-assertion-common 0.12.0 (Maven). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Where the flaw is in the code
Fixed in apache/knox by 998dcd257d. Functions changed by the fix: getQueryString, getImpersonationParamNames, scrubOfExistingPrincipalParams. Regression tests: gateway-provider-identity-assertion-common/src/test/java/org/apache/hadoop/gateway/identityasserter/filter/IdentityAssertionHttpServletRequestWrapperTest.java. Confidence: inferred (code changed near the fix, but no record names this exact commit as the fix).
Timeline
| 2017-05-26 | Published |
| 2022-05-13 | Package advisory GHSA-g3fc-8jv4-qmmv |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 0.75% |
| 2026-12-04 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-g3fc-8jv4-qmmv | org.apache.knox:gateway-provider-identity-assertion-common (Maven) | 0.12.0 |
Also known as: GHSA-g3fc-8jv4-qmmv
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2026-116629 | 2026-12-03 | 4.2 | Apache Camel: Camel-CometD Cross-Origin Ambient Credential Access via Default JSONP Transport |
| CVE-2026-133636 | 2026-11-30 | 6.5 | Apache Struts: Fetch Metadata Interceptor accepts cross-site requests its resource isolation policy rejects |
| CVE-2026-89326 | 2026-11-11 | 5.3 | Apache XML Graphics Batik: Check url protocol when loading document |
| CVE-2026-94243 | 2026-09-23 | 7.3 | Apache Sling Security Bundle: RefererFilter accepts weaker-than-origin evidence |
| CVE-2026-86466 | 2026-09-16 | 8.1 | Apache Airflow FAB provider: FAB Authentik provider: id_token issuer/audience not validated |
| CVE-2026-82438 | 2026-09-14 | 8.1 | Apache Storm Webapp: Authenticated API Responses Exposed to Arbitrary Web Origins |
| CVE-2026-75156 | 2026-09-08 | 9.1 | Apache Airflow FAB provider: FAB Azure AD OAuth: id_token issuer/audience not validated — cross-tenant authentication bypass |
| CVE-2026-54665 | 2026-06-22 | 5.3 | Apache NiFi: Missing Validation for Proxy Host Headers |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2017-5646, or call /api/v1/vulnerabilities/CVE-2017-5646. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.