SOLR-16568: Update FasterXML Woodstox to 6.4.0 #1209
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
https://issues.apache.org/jira/browse/SOLR-16568
Description
This was brought up on the mailing list here: https://lists.apache.org/thread/psc4r75o933y22jos4xk5rcwhof48sdw
The automatically created CVEs against xstream are misleading and read the thread above to try to find out more. Its not clear which CVEs if any are actually valid.
The only one that looks still valid against woodstox-core is CVE-2022-40152 (GHSA-3f7h-mf4q-vrm4) and fixed in FasterXML/woodstox#160. It is LOW severity only.
Solution
Update the com.fasterxml.woodstox:woodstox-core dependency to 6.4.0 where there are no longer any vulnerabilities.
Tests
After running the existing tests, there is no need for any code changes for this upgraded version of woodstox.
Checklist
Please review the following and check all that apply:
main
branch../gradlew check
.