Skip to content

Commit

Permalink
Overriding the vulnerable version of bouncy castle
Browse files Browse the repository at this point in the history
  • Loading branch information
pwatson-r7 committed Nov 6, 2024
1 parent 92c0b69 commit ff97642
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@
</distributionManagement>

<properties>
<thirdparty.commons-io.version>2.7</thirdparty.commons-io.version>
<thirdparty.bouncycastle.version>1.78.1</thirdparty.bouncycastle.version>
<thirdparty.commons-io.version>2.14.0</thirdparty.commons-io.version>
<thirdparty.commons-lang3.version>3.4</thirdparty.commons-lang3.version>
<thirdparty.guava.version>33.0.0-jre</thirdparty.guava.version>
<thirdparty.hamcrest.version>1.3</thirdparty.hamcrest.version>
Expand All @@ -59,6 +60,13 @@
</properties>

<dependencies>
<!-- the version of bouncycastle in smbj is vulnerable -->
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk18on</artifactId>
<version>${thirdparty.bouncycastle.version}</version>
<scope>runtime</scope>
</dependency>
<!-- 3rdparty dependencies. -->
<dependency>
<groupId>commons-io</groupId>
Expand Down

0 comments on commit ff97642

Please sign in to comment.