-
Notifications
You must be signed in to change notification settings - Fork 408
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes libThrift high CVEs #560
base: develop
Are you sure you want to change the base?
Conversation
Current version of libThrift has some vulnerabilities, updating it to 0.14.0 should fix them. ```+-----------------------------+------------------+----------+-------------------+---------------+--------------------------------------------+ | LIBRARY | VULNERABILITY ID | SEVERITY | INSTALLED VERSION | FIXED VERSION | TITLE | +-----------------------------+------------------+----------+-------------------+---------------+--------------------------------------------+ | org.apache.thrift:libthrift | CVE-2018-1320 | HIGH | 0.10.0 | 0.12.0 | thrift: SASL negotiation | | | | | | | isComplete validation bypass in the | | | | | | | org.apache.thrift.transport.TSaslTransport | | | | | | | class -->avd.aquasec.com/nvd/cve-2018-1320 | + +------------------+ + +---------------+--------------------------------------------+ | | CVE-2019-0205 | | | 0.13.0 | thrift: Endless loop when | | | | | | | feed with specific input data | | | | | | | -->avd.aquasec.com/nvd/cve-2019-0205 | + +------------------+ + + +--------------------------------------------+ | | CVE-2019-0210 | | | | thrift: Out-of-bounds read | | | | | | | related to TJSONProtocol | | | | | | | or TSimpleJSONProtocol | | | | | | | -->avd.aquasec.com/nvd/cve-2019-0210 | + +------------------+ + +---------------+--------------------------------------------+ | | CVE-2020-13949 | | | 0.14.0 | libthrift: potential DoS when | | | | | | | processing untrusted payloads | | | | | | | -->avd.aquasec.com/nvd/cve-2020-13949 | +-----------------------------+------------------+----------+-------------------+---------------+--------------------------------------------+```
I've seen that the versions There is a change to move this dependency into test that has been merged but not published yet: apache/thrift#2340 I guess we'd need to wait for |
Hey Albert, |
Also present in latest tag, https://github.com/twitter/finatra/blob/finatra-23.11.0/build.sbt#L97 |
Problem
Current version of
libThrift
0.10.0
has some CVEs listed below:Solution
I've updated the dependency to 0.14.0, this would fix them.
PS: my first contribution in finatra, let me know if I should have done anything differently.