{"api_version":"1","generated_at":"2026-07-24T01:40:07+00:00","cve":"CVE-2021-42357","urls":{"html":"https://cve.report/CVE-2021-42357","api":"https://cve.report/api/cve/CVE-2021-42357.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-42357","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-42357"},"summary":{"title":"CVE-2021-42357","description":"When using Apache Knox SSO prior to 1.6.1, a request could be crafted to redirect a user to a malicious page due to improper URL parsing. A request that included a specially crafted request parameter could be used to redirect the user to a page controlled by an attacker. This URL would need to be presented to the user outside the normal request flow through a XSS or phishing campaign.","state":"PUBLIC","assigner":"security@apache.org","published_at":"2022-01-17 20:15:00","updated_at":"2022-01-24 19:22:00"},"problem_types":["CWE-79"],"metrics":[],"references":[{"url":"https://lists.apache.org/thread/b7v5dkpyqb51nw0lvz4cybhgrfhk1g7j","name":"https://lists.apache.org/thread/b7v5dkpyqb51nw0lvz4cybhgrfhk1g7j","refsource":"MISC","tags":[],"title":"","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"http://www.openwall.com/lists/oss-security/2022/01/17/2","name":"[oss-security] 20220117 CVE-2021-42357: DOM based XSS Vulnerability in Apache Knox","refsource":"MLIST","tags":[],"title":"oss-security - CVE-2021-42357: DOM based XSS Vulnerability in Apache Knox","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-42357","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-42357","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"LEGACY","value":"Apache Knox would like to thank Kajetan Rostojek for this report","lang":""}],"nvd_cpes":[{"cve_year":"2021","cve_id":"42357","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"apache","cpe5":"knox","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security@apache.org","ID":"CVE-2021-42357","STATE":"PUBLIC","TITLE":"DOM based XSS Vulnerability in Apache Knox"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"Apache Knox","version":{"version_data":[{"version_affected":"<","version_name":"Apache Knox 1.x","version_value":"1.6.1"},{"version_affected":">","version_name":"Apache Knox 0.x","version_value":"0.12.0"}]}}]},"vendor_name":"Apache Software Foundation"}]}},"credit":[{"lang":"eng","value":"Apache Knox would like to thank Kajetan Rostojek for this report"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"When using Apache Knox SSO prior to 1.6.1, a request could be crafted to redirect a user to a malicious page due to improper URL parsing. A request that included a specially crafted request parameter could be used to redirect the user to a page controlled by an attacker. This URL would need to be presented to the user outside the normal request flow through a XSS or phishing campaign."}]},"generator":{"engine":"Vulnogram 0.0.9"},"impact":[{"other":"moderate"}],"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"}]}]},"references":{"reference_data":[{"refsource":"MISC","url":"https://lists.apache.org/thread/b7v5dkpyqb51nw0lvz4cybhgrfhk1g7j","name":"https://lists.apache.org/thread/b7v5dkpyqb51nw0lvz4cybhgrfhk1g7j"},{"refsource":"MLIST","name":"[oss-security] 20220117 CVE-2021-42357: DOM based XSS Vulnerability in Apache Knox","url":"http://www.openwall.com/lists/oss-security/2022/01/17/2"}]},"source":{"discovery":"UNKNOWN"},"work_around":[{"lang":"eng","value":"1.x users should upgrade to 1.6.1.\nUnsupported versions of the 0.x line that include this issue are: 0.13.0, 0.14.0.\nand these should upgrade to 1.6.1 as well.\n1.0.0 and 1.1.0 are also Unsupported but affected and should upgrade to 1.6.1.\n"}]},"nvd":{"publishedDate":"2022-01-17 20:15:00","lastModifiedDate":"2022-01-24 19:22:00","problem_types":["CWE-79"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":6.1,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.8,"impactScore":2.7},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:N/I:P/A:N","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE","baseScore":4.3},"severity":"MEDIUM","exploitabilityScore":8.6,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:apache:knox:*:*:*:*:*:*:*:*","versionEndExcluding":"1.6.1","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"42357","Ordinal":"218332","Title":"CVE-2021-42357","CVE":"CVE-2021-42357","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"42357","Ordinal":"1","NoteData":"** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.","Type":"Description","Title":null}]}}}