Bug 1693166 (CVE-2016-10744)
| Summary: | CVE-2016-10744 select2: XSS due to missing sanitization when HTML templates are used to display remotely-loaded data. | ||
|---|---|---|---|
| Product: | [Other] Security Response | Reporter: | Dhananjay Arunesh <darunesh> |
| Component: | vulnerability | Assignee: | Red Hat Product Security <security-response-team> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | unspecified | CC: | abergmann, aboyko, bkearney, chazlett, drieden, krathod, meissner, pdrozd, pjindal, sthorger, tlestach |
| Target Milestone: | --- | Keywords: | Reopened, Security |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-02-03 14:09:32 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1693168 | ||
|
Description
Dhananjay Arunesh
2019-03-27 09:26:00 UTC
To be noted: the commit above is not a fix for select2, but a workaround used by snipe-it, which could be applicable to other project, waiting for a select2 fix. Re-opening this flaw in order to analyze RHSSO w.r.t. select2 vulnerability : Bug URL: https://issues.jboss.org/browse/KEYCLOAK-12391 During a penetration test we obserbed an issue with the used dependency to select2 (JS/NPM): https://snyk.io/vuln/SNYK-JS-SELECT2-456562. Therefore it is required to upgrade the library to a version >= 4.0.8. From further verification I can confirm there is no actual fix in Select2 with regards to https://snyk.io/vuln/SNYK-JS-SELECT2-456562. It is simply updating documentation and examples recommending that inputs are sanitized properly. The dependency is used with the Keycloak admin console, which is built on Angular. Angular automatically performs the required sanitising. As such there is no vulnerability in this regards and we are already doing what the updated documentation and examples from Select2 recommends. As such updating Select2 has no value or affect in this regards. Hence I am marking RHSSO 7 as not affected This bug is now closed. Further updates for individual products will be reflected on the CVE page(s): https://access.redhat.com/security/cve/cve-2016-10744 |