[ 
https://issues.apache.org/jira/browse/YARN-11356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17621047#comment-17621047
 ] 

ASF GitHub Bot commented on YARN-11356:
---------------------------------------

K0K0V0K opened a new pull request, #5052:
URL: https://github.com/apache/hadoop/pull/5052

   ### Description of PR
   
   This PR is intended to fix the following CVEs in the DataTables.net lib, by 
upgrading the lib to 1.11.5 
   
   CVE-2020-28458 (HIGH severity) - All versions of package datatables.net are 
vulnerable to Prototype Pollution due to an incomplete fix for 
https://snyk.io/vuln/SNYK-JS-DATATABLESNET-598806.
   
   https://nvd.nist.gov/vuln/detail/CVE-2020-28458
   
   CVE-2021-23445 (MEDIUM severity) - This affects the package datatables.net 
before 1.11.3. If an array is passed to the HTML escape entities function it 
would not have its contents escaped.
   
   https://nvd.nist.gov/vuln/detail/CVE-2021-23445
   
   ### How was this patch tested?
   
   On a local cluster I investigated the UI
   
   - macOS 12.2.1 (21D62)
   - Chrome Version 106.0.5249.119 (Official Build) (arm64)
   
   The new js code is loaded to the browser
   <img width="1709" alt="image" 
src="https://user-images.githubusercontent.com/109747532/196940864-5ccd0183-4e64-4654-9b50-20ba2ea1ac4d.png";>
   
   The sort feature is working:
   <img width="1007" alt="image" 
src="https://user-images.githubusercontent.com/109747532/196941043-70f359bc-ad11-41f3-9fa3-57d535ccd0b1.png";>
   
   The search feature is working:
   <img width="1561" alt="image" 
src="https://user-images.githubusercontent.com/109747532/196941171-032de115-563b-41de-9733-19d63f8e1d8c.png";>
   
   Empty tables are presented:
   <img width="1392" alt="image" 
src="https://user-images.githubusercontent.com/109747532/196941326-c007462b-e7ef-4823-a9d2-21d31924cead.png";>
   
   ### For code changes:
   
   - I had to update the bower.json and ember-cli build with the new versions
   - The UI is using a fix DataTable js code what is present in this repo so i 
updated that too.
   - I updated the Licence file also. 




> Upgrade DataTables to 1.11.5 to fix CVEs
> ----------------------------------------
>
>                 Key: YARN-11356
>                 URL: https://issues.apache.org/jira/browse/YARN-11356
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: yarn
>    Affects Versions: 3.3.4
>            Reporter: Bence Kosztolnik
>            Assignee: Bence Kosztolnik
>            Priority: Major
>
> This ticket is intended to fix the following CVEs in the *DataTables.net* 
> lib, by upgrading the lib to 1.11.5 
> *CVE-2020-28458 (HIGH severity)* - All versions of package datatables.net are 
> vulnerable to Prototype Pollution due to an incomplete fix for 
> [https://snyk.io/vuln/SNYK-JS-DATATABLESNET-598806].
> [https://nvd.nist.gov/vuln/detail/CVE-2020-28458]
> *CVE-2021-23445 (MEDIUM severity)* - This affects the package datatables.net 
> before 1.11.3. If an array is passed to the HTML escape entities function it 
> would not have its contents escaped.
> [https://nvd.nist.gov/vuln/detail/CVE-2021-23445]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to