-
Notifications
You must be signed in to change notification settings - Fork 261
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
Cassandra Dependency (scope/security) #2671
Comments
A further issue is that the currentgraph repository connector is explicitly depending on org.codehaus.jackson:jackson-mapper-asl.jar. This is documented as a runtime dependency, and the maven dependency checks are marked as an exception (as is normal for a runtime only dependency) We should change this in our own code -- much easier than the changes above -- to use current versions of jackson and thus address CVE-2017-7525 and CVE-2019-10172 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 20 days if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 20 days if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 20 days if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 20 days if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 20 days if no further activity occurs. Thank you for your contributions. |
Current dependency chains:
But in addition we pull in 'datastax' libraries, in part from janusgraph-sql (addressed above), but also for example:
Since this clearly is to support cassandra, and it's a build time dependency, I think this is valid, but probably should be in another repo.
Similar... And indirectly via this route:
I'm not sure we should be building this at all... So in summary I think we should:
cc: @lpalashevski @bogdan-sava @mandy-chessell @grahamwallis |
I believe you are looking at this @mandy-chessell ? |
Yes :) |
@mandy-chessell / @planetf1 is it possible to get this fix back ported to 2.8 ? |
@Shrinivas-Kane Sorry we do not back-port fixes |
is there ETA when fix will be available ? |
@mandy-chessell can you please confirm release target for these security fixes ? |
@Shrinivas-Kane When we have identified a resource to do this, we will identify the release in the milestones field. |
@mandy-chessell Mandy, Can you please help with identifying resource to fix this soon? For WKC, critical and high severity security defects are becoming a gating factors for release so fix for this issue is quite urgent because its a blocker for security issue https://github.ibm.com/InformationServer/Information-Server-Tracking-Board/issues/13692 |
@lenawoolf @lpalashevski has been looking at this, and one step to remove the cassandra oriented chain is addressed by a current draft PR (should be merged soon) in #5243 . Cassandra does end up being pulled in & through it libthrift and the old jackson-mapper-asl, so those pathways should be addressed. The only other occurrences are via hadoop which is limited to, for example, the ranger connector. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 20 days if no further activity occurs. Thank you for your contributions. |
This issue is no logner relevant since outdate cassandra libs and connectors are now removed. |
Currently we are pulling cassandra oriented dependencies into our compile dependency tree:
This causes exposure of all modules - potentially to any security issues. We currently know that org.apache.thrift:libthrift:0.9.2 is subject to CVE-2018-1320. Even if this isn't exploitable for other components we should be limiting the scope of all third dependencies to the minimum required.
The dependency tree above shows we have a compile & runtime (default) dependency from a core egeria component - the connector configuration factory.
Ideally
-- at least that's.a theory ....
Furthermore We should note :
In addition we should raise an issue against JanusGraph (cc: @grahamwallis ) to see if they can/should be using a more recent version of org.apache.cassandra:cassandra-all . Currently Janus is using 2.2.13 from July 2018. Cassnadra is currently in 4.x beta.
The text was updated successfully, but these errors were encountered: