Skip to content

Commit 653e149

Browse files
committed
Add suppressions for unintended CVEs
1 parent 48ce4a6 commit 653e149

File tree

2 files changed

+45
-1
lines changed

2 files changed

+45
-1
lines changed

android/build.gradle.kts

+5-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,11 @@ allprojects {
109109

110110
configure<org.owasp.dependencycheck.gradle.extension.DependencyCheckExtension> {
111111
failBuildOnCVSS = 0F // All severity levels
112-
suppressionFile = "${rootProject.projectDir}/config/dependency-check-suppression.xml"
112+
suppressionFiles =
113+
listOf(
114+
"${rootProject.projectDir}/config/dependency-check-suppression.xml",
115+
"${rootProject.projectDir}/config/dependency-check-suppression-agp-fixes.xml",
116+
)
113117
}
114118

115119
configure<com.ncorti.ktfmt.gradle.KtfmtExtension> {
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<suppressions xmlns="https://jeremylong.github.io/DependencyCheck/dependency-suppression.1.3.xsd">
3+
<suppress until="2024-12-01Z">
4+
<notes><![CDATA[
5+
This and all other supressions in this file are for dependencies only used for tests.
6+
These should be excluded by the plugin but this behaviour is broken.
7+
Added here until we can fix the plugin behaviour.
8+
]]></notes>
9+
<packageUrl regex="true">^pkg:maven/io\.netty/.*@.*$</packageUrl>
10+
<cve>CVE-2022-41881</cve>
11+
<cve>CVE-2023-44487</cve>
12+
<cve>CVE-2023-34462</cve>
13+
<cve>CVE-2022-24823</cve>
14+
<cve>CVE-2024-29025</cve>
15+
<cve>CVE-2022-41915</cve>
16+
</suppress>
17+
<suppress until="2024-12-01Z">
18+
<notes><![CDATA[
19+
This and all other supressions in this file are for dependencies only used for tests.
20+
These should be excluded by the plugin but this behaviour is broken.
21+
Added here until we can fix the plugin behaviour.
22+
]]></notes>
23+
<packageUrl regex="true">^pkg:maven/com\.google\.protobuf/.*@.*$</packageUrl>
24+
<cve>CVE-2024-7254</cve>
25+
<cve>CVE-2022-3171</cve>
26+
<cve>CVE-2022-3510</cve>
27+
<cve>CVE-2021-22569</cve>
28+
</suppress>
29+
<suppress until="2024-12-01Z">
30+
<notes><![CDATA[
31+
This and all other supressions in this file are for dependencies only used for tests.
32+
These should be excluded by the plugin but this behaviour is broken.
33+
Added here until we can fix the plugin behaviour.
34+
]]></notes>
35+
<packageUrl regex="true">^pkg:maven/com.google.guava/guava@.*$</packageUrl>
36+
<cve>CVE-2023-2976</cve>
37+
<cve>CVE-2020-8908</cve>
38+
</suppress>
39+
</suppressions>
40+

0 commit comments

Comments
 (0)