{"answers":{"affected":"2 open source packages ship an affected version, including org.apache.knox:gateway-provider-identity-assertion-common. It affects 1 product.","exploited":"There is no known exploitation of CVE-2017-5646 in the wild and no public exploit code.","fix":"Upgrade org.apache.knox:gateway-provider-identity-assertion-common to 0.12.0 or later.","what":"CVE-2017-5646 is a medium-severity authentication bypass vulnerability in Apache Knox, published on 26 May 2017. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2017-5646 and fix it if it is affected.\n\nWhat it is: CVE-2017-5646 is a medium-severity authentication bypass vulnerability in Apache Knox, published on 26 May 2017. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2017-5646 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.knox:gateway-provider-identity-assertion-common (Maven): affected from 0.2.0; fixed in 0.12.0\n- org.apache.knox:gateway-provider-identity-assertion-common (Maven): affected from 0.2.0; fixed in 0.12.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2017-5646/ (Markdown: https://insights.sbomify.com/CVE-2017-5646/index.md)","id":"CVE-2017-5646","markdown":"https://insights.sbomify.com/CVE-2017-5646/index.md","name":"CVE-2017-5646","record":{"aliases":["GHSA-g3fc-8jv4-qmmv"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["privilege_escalation","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Apache Knox gateway","requires_auth":"low_privilege","summary":"Authenticated users can impersonate others via crafted URLs in WebHDFS, leading to privilege escalation and unauthorized data access.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"knox","vendor":"apache"}],"cvss":{"score":6.8,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-346","name":"Origin Validation Error"}],"description":"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.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Apache Knox allows impersonation of users","id":"CVE-2017-5646","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"auth_bypass","year":"2017"},"n_packages":2,"n_references":3,"next":{"headline":"Exposure of Sensitive Information to an Unauthorized Actor in Apache Tomcat","id":"CVE-2017-5647"},"packages":[{"ecosystem":"Maven","fixed":["0.12.0"],"introduced":["0.2.0"],"last_affected":[],"package":"org.apache.knox:gateway-provider-identity-assertion-common","purl":null,"source":"GHSA-g3fc-8jv4-qmmv"},{"ecosystem":"Maven","fixed":["0.12.0"],"introduced":["0.2.0"],"last_affected":[],"package":"org.apache.knox:gateway-provider-identity-assertion-common","purl":"pkg:maven/org.apache.knox/gateway-provider-identity-assertion-common","source":"GHSA-g3fc-8jv4-qmmv"}],"prev":{"headline":"Deserialization of Untrusted Data in Log4j","id":"CVE-2017-5645"},"products":["Apache Knox"],"published":"2017-05-26","related":[{"cvss_score":6.1,"headline":"DOM based XSS Vulnerability in Apache Knox","id":"CVE-2021-42357","kev_date_added":null,"published":"2022-01-17"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["Apache Software Foundation"]},"summary":"Authenticated users can impersonate others via crafted URLs in WebHDFS, leading to privilege escalation and unauthorized data access.","url":"https://insights.sbomify.com/CVE-2017-5646/"}