LuciferYang opened a new pull request, #37481:
URL: https://github.com/apache/spark/pull/37481

   ### What changes were proposed in this pull request?
   This pr exclude `xalan` from `htmlunit` to clean warning of CVE-2022-34169:
   
   ```
   Provides transitive vulnerable dependency xalan:xalan:2.7.2
   CVE-2022-34169 7.5 Integer Coercion Error vulnerability with medium severity 
found
   Results powered by Checkmarx(c)
   ```
   `xalan:xalan:2.7.2` is the latest version, the code base has not been 
updated for 5 years, so can't solve by upgrading `xalan`.
   
   
   ### Why are the changes needed?
   The vulnerability is described is 
[CVE-2022-34169](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-34169),
 better to exclude it although it's just test dependency for Spark.
   
   ### Does this PR introduce _any_ user-facing change?
   No.
   
   
   ### How was this patch tested?
   
   - Pass GitHub Actions
   - Manual test:
   
   run `mvn dependency:tree -Phadoop-3 -Phadoop-cloud -Pmesos -Pyarn 
-Pkinesis-asl -Phive-thriftserver -Pspark-ganglia-lgpl -Pkubernetes -Phive | 
grep xalan` to check that `xalan` is not matched after this pr
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to