-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Suppress CVE's in master #15231
Suppress CVE's in master #15231
Conversation
<!-- CVE-2023-5072 has a too broad CPE that flags all versions of json-java - https://github.com/jeremylong/DependencyCheck/issues/5991 --> | ||
<suppress base="true"> | ||
<notes><![CDATA[ | ||
FP per issue #5991 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what does this mean? What issue does it refer to?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is picked up from a description in https://github.com/jeremylong/DependencyCheck which suppresses it. There's another suppression in the suppression file here which also does the same, so I assumed that it's standard to add it in the notes.
I'll clean up the suppression.
@@ -811,4 +813,25 @@ | |||
<packageUrl regex="true">^pkg:maven/org\.codehaus\.plexus/plexus-interpolation@.*$</packageUrl> | |||
<cve>CVE-2022-4244</cve> | |||
</suppress> | |||
|
|||
<!-- CVE-2023-5072 has a too broad CPE that flags all versions of json-java - https://github.com/jeremylong/DependencyCheck/issues/5991 --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we don't use json-java at all. "flags all versions of json-java" text seems unrelated to why we are suppressing it.
<!-- | ||
~ CVE-2023-44981 seems to affect Zookeeper servers. While we ship with a previous version of the Zookeeper, Druid only | ||
~ only uses the client classes of the Zookeeper. We do use the older version in the quickstart & example docker file, | ||
~ however in production it is recomended to use your own Zookeeper server with the CVE patched up, which the Druid's | ||
~ older ZK library is still compatible with. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Cleaned up the CVE notes and addressed the comments |
Thanks @abhishekagarwal87 for the review. |
This PR suppresses the following CVE's
<vulnerabilityName>
already, however, it was popping up while trying to build the artifact.json-java
that neither Druid nor any of its dependency is using (verified usingmvn dependency:tree
. False positive, looks like the CPE identifier is too generic that it is flagging JARs with json- in their name