Skip to content

Commit b64e130

Browse files
austbrbrw
authored andcommitted
(PDB-5235) suppress nvd failure on Rust CVE
1 parent 4efbfaa commit b64e130

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

dev-resources/suppression.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<suppressions xmlns="https://jeremylong.github.io/DependencyCheck/dependency-suppression.1.3.xsd">
3+
<suppress>
4+
<notes><![CDATA[
5+
This suppresses a medium vulnerability that was found in a cache crate for
6+
Rust. It is a false positive on the Clojure package core.cache-0.7.1 since
7+
the Clojure package that we use does not have any relation to Rust.
8+
The file name that causes the false positive: core.cache-0.7.1.jar
9+
]]></notes>
10+
<packageUrl regex="true">^pkg:maven/org\.clojure/core\.cache@.*$</packageUrl>
11+
<cve>CVE-2020-36448</cve>
12+
</suppress>
13+
</suppressions>

project.clj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,7 @@
270270
org.slf4j/jcl-over-slf4j
271271
org.clojure/clojure
272272
org.slf4j/slf4j-api]]]}]
273+
273274
:fips [:defaults
274275
{:dependencies [[org.bouncycastle/bcpkix-fips]
275276
[org.bouncycastle/bc-fips]
@@ -347,6 +348,8 @@
347348
(if (map? prev) [new prev] (conj prev new)))
348349
#(spit %1 (pr-str %2))]}
349350

351+
:nvd {:suppression-file "dev-resources/suppression.xml"}
352+
350353
:eastwood {:config-files ["eastwood.clj"]
351354
;; local-shadows-var is too distruptive, particularly
352355
;; with respect to defservice dependency methods, and

0 commit comments

Comments
 (0)