Open
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 | +-----------------------------+------------------+----------+-------------------+---------------+--------------------------------------------+```
Author
|
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 |
Contributor
|
Hey Albert, |
|
Also present in latest tag, https://github.com/twitter/finatra/blob/finatra-23.11.0/build.sbt#L97 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Problem
Current version of
libThrift0.10.0has 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.