Skip to content

Conversation

nikita15p
Copy link
Contributor

@nikita15p nikita15p commented Apr 27, 2023

org.apache.thrift:libthrift:0.14.2 has dependency on tomcat-embed-core : 8.5.46 which is causing CVE 2020-1938. So added tomcat-embed-core.

Without this change dep tree looks like

[INFO] +- org.apache.thrift:libthrift:jar:0.14.2:compile
[INFO] |  +- org.apache.tomcat.embed:tomcat-embed-core:jar:8.5.46:compile
[INFO] |  |  \- org.apache.tomcat:tomcat-annotations-api:jar:8.5.46:compile
[INFO] |  \- javax.annotation:javax.annotation-api:jar:1.3.2:compile

With this change, dep tree looks like

[INFO] |  |  +- org.apache.thrift:libthrift:jar:0.14.2:compile
[INFO] |  |  |  +- org.apache.httpcomponents:httpclient:jar:4.5.13:compile
[INFO] |  |  |  |  \- commons-logging:commons-logging:jar:1.2:compile
[INFO] |  |  |  +- org.apache.httpcomponents:httpcore:jar:4.4.15:compile
[INFO] |  |  |  +- org.apache.tomcat.embed:tomcat-embed-core:jar:9.0.68:compile
[INFO] |  |  |  |  \- org.apache.tomcat:tomcat-annotations-api:jar:9.0.68:compile
[INFO] |  |  |  \- javax.annotation:javax.annotation-api:jar:1.3.2:compile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant