Upgrade libthrift to 0.14.1 due CVE-2020-13949 #24462
Open
+43
−1
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.
Description
Fix CVE-2018-1320, CVE-2019-0205, CVE-2019-0210 and CVE-2020-13949.
The version chosen is 0.14.1, although more recent versions exist, because it does not have CRITICAL and HIGH severity CVEs and has been tested in several scenarios with different versions of Hive Metastore.
Fix for #18026
Motivation and Context
The PR upgrades libthrift version to address known CVEs.
Exception made for Accumulo connector, since the version of Accumulo used is not compatible with newer versions of libthrift.
Impact
Dependency org.apache.thrift:libthrift:0.9.3 has four HIGH vulnerabilities:
https://nvd.nist.gov/vuln/detail/CVE-2018-1320
https://nvd.nist.gov/vuln/detail/CVE-2019-0205
https://nvd.nist.gov/vuln/detail/CVE-2019-0210
https://nvd.nist.gov/vuln/detail/CVE-2020-13949
Contributor checklist
Release Notes
Please follow release notes guidelines and fill in the release notes below.