Skip to content

Commit

Permalink
Merge pull request #36 from openrewrite/chore/depedency-vulnerabilities
Browse files Browse the repository at this point in the history
chore: update suppression & resolve latest commons-compress
  • Loading branch information
zieka authored Feb 28, 2024
2 parents 5218bcd + be0c9d6 commit c3478cb
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
12 changes: 10 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,19 @@ repositories {

configurations.all {
resolutionStrategy {
eachDependency {
if (requested.group == "org.apache.commons"
&& requested.name == "commons-compress"
&& requested.version.toString().startsWith("1.25")
) {
useVersion("1.26.0")
}
}
cacheChangingModulesFor(0, TimeUnit.SECONDS)
cacheDynamicVersionsFor(0, TimeUnit.SECONDS)
if(name.startsWith("test")) {
if (name.startsWith("test")) {
eachDependency {
if(requested.name == "groovy-xml") {
if (requested.name == "groovy-xml") {
useVersion("3.0.9")
}
}
Expand Down
8 changes: 4 additions & 4 deletions suppressions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
<cve>CVE-2023-44387</cve>
<cve>CVE-2023-49238</cve>
</suppress>
<suppress until="2024-02-28Z">
<suppress until="2024-03-28Z">
<notes><![CDATA[
file name: spring-asm-3.1.3.RELEASE.jar
]]></notes>
Expand All @@ -100,7 +100,7 @@
<cve>CVE-2014-3625</cve>
<cve>CVE-2014-1904</cve>
</suppress>
<suppress until="2024-02-28Z">
<suppress until="2024-03-28Z">
<notes><![CDATA[
file name: spring-core-3.1.3.RELEASE.jar
]]></notes>
Expand All @@ -125,7 +125,7 @@
<cve>CVE-2014-3625</cve>
<cve>CVE-2014-1904</cve>
</suppress>
<suppress until="2024-02-28Z">
<suppress until="2024-03-28Z">
<notes><![CDATA[
sev: HIGH
file name: plexus-interpolation-1.14.jar
Expand All @@ -135,7 +135,7 @@
<cve>CVE-2022-4244</cve>
<cve>CVE-2022-4245</cve>
</suppress>
<suppress until="2024-02-28Z">
<suppress until="2024-03-28Z">
<notes><![CDATA[
sev: HIGH
file name: plexus-component-annotations-1.5.5.jar
Expand Down

0 comments on commit c3478cb

Please sign in to comment.