'spring-boot-starter-data-cassandra-reactive depends on CVE-2020-13946 native-protocol-1.5.0.jar
Small question regarding a SpringBoot project please.
Currently with version 2.6.x, I am developing a very small web application storing data inside Cassandra.
Unfortunately, it seems from the dependency tree, it is carrying a vulnerable dependency:
native-protocol-1.5.0.jar (pkg:maven/com.datastax.oss/[email protected], cpe:2.3:a:apache:cassandra:1.5.0:::::::*) : CVE-2020-13946
This is further confirmed with many static analysis scans, such as SonarQube, Black Duck, OWASP dependency etc...
It seems this is due to a dependency from Datastax team.
However, there are no public repos to raise a PR or an issue.
May I ask what should I do in order to fix this vulnerability please?
Thank you
Solution 1:[1]
It looks like a false positive to me with native-protocol 1.5.0 incorrectly being considered to be part of Apache Cassandra 1.5.
If you want some assurances from the maintainers, native-protocol
is on GitHub as is Datastax's Java Driver for Cassandra which depends upon native-protocol
.
Solution 2:[2]
CVE-2020-13946 has no relevance on the Spring framework or the native protocol JAR since the vulnerability only exists if both of these conditions are true:
- You are running an old version of Cassandra.
- The JMX port is exposed to public access.
The vulnerability is from 2020 and if you look at the details on sites like Mitre or NVD, you'll see that in only applies to:
... all versions prior to 2.1.22, 2.2.18, 3.0.22, 3.11.8 and 4.0-beta2 ...
The vulnerability doesn't exist in the supported versions of Cassandra. Cheers!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Andy Wilkinson |
Solution 2 | Erick Ramirez |