Skip to content

Commit

Permalink
Merge pull request #184 from rapid7/feature/update_vuln_bc
Browse files Browse the repository at this point in the history
Adding newer version of bouncy-castle and overriding the vulnerable version of bouncy castle in smbj
  • Loading branch information
pwatson-r7 authored Nov 21, 2024
2 parents 92c0b69 + c7ced75 commit 56595c2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
</distributionManagement>

<properties>
<thirdparty.bouncycastle.version>1.78.1</thirdparty.bouncycastle.version>
<thirdparty.commons-io.version>2.7</thirdparty.commons-io.version>
<thirdparty.commons-lang3.version>3.4</thirdparty.commons-lang3.version>
<thirdparty.guava.version>33.0.0-jre</thirdparty.guava.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 56595c2

Please sign in to comment.