Skip to content

Commit

Permalink
Update JUnit 4 to 4.13.1 to mitigate CVE (Azure#16198)
Browse files Browse the repository at this point in the history
  • Loading branch information
alzimmermsft authored Oct 12, 2020
1 parent 962f327 commit 50add53
Show file tree
Hide file tree
Showing 31 changed files with 33 additions and 33 deletions.
2 changes: 1 addition & 1 deletion common/smoke-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13</version> <!-- {x-version-update;junit:junit;external_dependency} -->
<version>4.13.1</version> <!-- {x-version-update;junit:junit;external_dependency} -->
<scope>test</scope>
</dependency>

Expand Down
2 changes: 1 addition & 1 deletion eng/code-quality-reports/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13</version> <!-- {x-version-update;junit:junit;external_dependency} -->
<version>4.13.1</version> <!-- {x-version-update;junit:junit;external_dependency} -->
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
2 changes: 1 addition & 1 deletion eng/versioning/external_dependencies.txt
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ io.opentelemetry:opentelemetry-api;0.8.0
io.opentelemetry:opentelemetry-sdk;0.8.0
io.grpc:grpc-context;1.30.2
io.projectreactor:reactor-test;3.3.9.RELEASE
junit:junit;4.13
junit:junit;4.13.1
commons-cli:commons-cli;1.3
org.apache.maven:maven-compat;3.6.2
org.apache.maven:maven-embedder;3.6.2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13</version> <!-- {x-version-update;junit:junit;external_dependency} -->
<version>4.13.1</version> <!-- {x-version-update;junit:junit;external_dependency} -->
<scope>test</scope>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13</version> <!-- {x-version-update;junit:junit;external_dependency} -->
<version>4.13.1</version> <!-- {x-version-update;junit:junit;external_dependency} -->
<scope>test</scope>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13</version> <!-- {x-version-update;junit:junit;external_dependency} -->
<version>4.13.1</version> <!-- {x-version-update;junit:junit;external_dependency} -->
<scope>test</scope>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
<version>4.13</version> <!-- {x-version-update;junit:junit;external_dependency} -->
<version>4.13.1</version> <!-- {x-version-update;junit:junit;external_dependency} -->
</dependency>
</dependencies>
<build>
Expand Down
2 changes: 1 addition & 1 deletion sdk/batch/microsoft-azure-batch/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13</version> <!-- {x-version-update;junit:junit;external_dependency} -->
<version>4.13.1</version> <!-- {x-version-update;junit:junit;external_dependency} -->
<scope>test</scope>
</dependency>

Expand Down
2 changes: 1 addition & 1 deletion sdk/cosmos/azure-cosmos-dotnet-benchmark/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Licensed under the MIT License.
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13</version> <!-- {x-version-update;junit:junit;external_dependency} -->
<version>4.13.1</version> <!-- {x-version-update;junit:junit;external_dependency} -->
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
2 changes: 1 addition & 1 deletion sdk/e2e/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13</version> <!-- {x-version-update;junit:junit;external_dependency} -->
<version>4.13.1</version> <!-- {x-version-update;junit:junit;external_dependency} -->
<scope>test</scope>
</dependency>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion sdk/eventgrid/microsoft-azure-eventgrid/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13</version> <!-- {x-version-update;junit:junit;external_dependency} -->
<version>4.13.1</version> <!-- {x-version-update;junit:junit;external_dependency} -->
<scope>test</scope>
</dependency>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion sdk/eventhubs/microsoft-azure-eventhubs-eph/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13</version> <!-- {x-version-update;junit:junit;external_dependency} -->
<version>4.13.1</version> <!-- {x-version-update;junit:junit;external_dependency} -->
<scope>test</scope>
</dependency>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion sdk/eventhubs/microsoft-azure-eventhubs-extensions/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13</version> <!-- {x-version-update;junit:junit;external_dependency} -->
<version>4.13.1</version> <!-- {x-version-update;junit:junit;external_dependency} -->
<scope>test</scope>
</dependency>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion sdk/eventhubs/microsoft-azure-eventhubs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13</version> <!-- {x-version-update;junit:junit;external_dependency} -->
<version>4.13.1</version> <!-- {x-version-update;junit:junit;external_dependency} -->
<scope>test</scope>
</dependency>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion sdk/identity/azure-identity/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13</version> <!-- {x-version-update;junit:junit;external_dependency} -->
<version>4.13.1</version> <!-- {x-version-update;junit:junit;external_dependency} -->
<scope>test</scope>
</dependency>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion sdk/keyvault/microsoft-azure-keyvault-cryptography/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13</version> <!-- {x-version-update;junit:junit;external_dependency} -->
<version>4.13.1</version> <!-- {x-version-update;junit:junit;external_dependency} -->
<scope>test</scope>
</dependency>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion sdk/keyvault/microsoft-azure-keyvault-extensions/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13</version> <!-- {x-version-update;junit:junit;external_dependency} -->
<version>4.13.1</version> <!-- {x-version-update;junit:junit;external_dependency} -->
<scope>test</scope>
</dependency>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion sdk/keyvault/microsoft-azure-keyvault-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13</version> <!-- {x-version-update;junit:junit;external_dependency} -->
<version>4.13.1</version> <!-- {x-version-update;junit:junit;external_dependency} -->
<scope>test</scope>
</dependency>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion sdk/keyvault/microsoft-azure-keyvault-webkey/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13</version> <!-- {x-version-update;junit:junit;external_dependency} -->
<version>4.13.1</version> <!-- {x-version-update;junit:junit;external_dependency} -->
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
2 changes: 1 addition & 1 deletion sdk/keyvault/microsoft-azure-keyvault/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ the MIT License. See License.txt in the project root for license information. --
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13</version> <!-- {x-version-update;junit:junit;external_dependency} -->
<version>4.13.1</version> <!-- {x-version-update;junit:junit;external_dependency} -->
<scope>test</scope>
</dependency>

Expand Down
2 changes: 1 addition & 1 deletion sdk/loganalytics/microsoft-azure-loganalytics/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13</version> <!-- {x-version-update;junit:junit;external_dependency} -->
<version>4.13.1</version> <!-- {x-version-update;junit:junit;external_dependency} -->
<scope>test</scope>
</dependency>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion sdk/mediaservices/microsoft-azure-media/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13</version> <!-- {x-version-update;junit:junit;external_dependency} -->
<version>4.13.1</version> <!-- {x-version-update;junit:junit;external_dependency} -->
<scope>test</scope>
</dependency>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion sdk/servicebus/microsoft-azure-servicebus/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13</version> <!-- {x-version-update;junit:junit;external_dependency} -->
<version>4.13.1</version> <!-- {x-version-update;junit:junit;external_dependency} -->
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
2 changes: 1 addition & 1 deletion sdk/spring/azure-spring-cloud-autoconfigure/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13</version> <!-- {x-version-update;junit:junit;external_dependency} -->
<version>4.13.1</version> <!-- {x-version-update;junit:junit;external_dependency} -->
<scope>test</scope>
</dependency>

Expand Down
2 changes: 1 addition & 1 deletion sdk/spring/azure-spring-cloud-context/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13</version> <!-- {x-version-update;junit:junit;external_dependency} -->
<version>4.13.1</version> <!-- {x-version-update;junit:junit;external_dependency} -->
<scope>test</scope>
</dependency>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion sdk/spring/azure-spring-cloud-messaging/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13</version> <!-- {x-version-update;junit:junit;external_dependency} -->
<version>4.13.1</version> <!-- {x-version-update;junit:junit;external_dependency} -->
<scope>test</scope>
</dependency>

Expand Down
2 changes: 1 addition & 1 deletion sdk/spring/azure-spring-cloud-storage/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13</version> <!-- {x-version-update;junit:junit;external_dependency} -->
<version>4.13.1</version> <!-- {x-version-update;junit:junit;external_dependency} -->
<scope>test</scope>
</dependency>

Expand Down
4 changes: 2 additions & 2 deletions sdk/spring/azure-spring-cloud-stream-binder-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13</version> <!-- {x-version-update;junit:junit;external_dependency} -->
<version>4.13.1</version> <!-- {x-version-update;junit:junit;external_dependency} -->
</dependency>
<dependency>
<groupId>org.mockito</groupId>
Expand Down Expand Up @@ -75,7 +75,7 @@
<rules>
<bannedDependencies>
<includes>
<include>junit:junit:[4.13]</include> <!-- {x-include-update;junit:junit;external_dependency} -->
<include>junit:junit:[4.13.1]</include> <!-- {x-include-update;junit:junit;external_dependency} -->
<include>org.hibernate.validator:hibernate-validator:[6.1.5.Final]</include> <!-- {x-include-update;org.hibernate.validator:hibernate-validator;external_dependency} -->
<include>org.mockito:mockito-core:[3.3.3]</include> <!-- {x-include-update;org.mockito:mockito-core;external_dependency} -->
<include>org.powermock:powermock-api-mockito2:[2.0.2]</include> <!-- {x-include-update;org.powermock:powermock-api-mockito2;external_dependency} -->
Expand Down
2 changes: 1 addition & 1 deletion sdk/spring/azure-spring-cloud-telemetry/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13</version> <!-- {x-version-update;junit:junit;external_dependency} -->
<version>4.13.1</version> <!-- {x-version-update;junit:junit;external_dependency} -->
<scope>test</scope>
</dependency>
<dependency>
Expand Down
4 changes: 2 additions & 2 deletions sdk/spring/azure-spring-integration-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13</version> <!-- {x-version-update;junit:junit;external_dependency} -->
<version>4.13.1</version> <!-- {x-version-update;junit:junit;external_dependency} -->
</dependency>
<dependency>
<groupId>org.mockito</groupId>
Expand Down Expand Up @@ -76,7 +76,7 @@
<bannedDependencies>
<includes>
<include>com.fasterxml.jackson.core:jackson-databind:[2.11.2]</include> <!-- {x-include-update;com.fasterxml.jackson.core:jackson-databind;external_dependency} -->
<include>junit:junit:[4.13]</include> <!-- {x-include-update;junit:junit;external_dependency} -->
<include>junit:junit:[4.13.1]</include> <!-- {x-include-update;junit:junit;external_dependency} -->
<include>org.hibernate.validator:hibernate-validator:[6.1.5.Final]</include> <!-- {x-include-update;org.hibernate.validator:hibernate-validator;external_dependency} -->
<include>org.mockito:mockito-core:[3.3.3]</include> <!-- {x-include-update;org.mockito:mockito-core;external_dependency} -->
<include>org.powermock:powermock-api-mockito2:[2.0.2]</include> <!-- {x-include-update;org.powermock:powermock-api-mockito2;external_dependency} -->
Expand Down
2 changes: 1 addition & 1 deletion sdk/storage/microsoft-azure-storage-blob/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13</version> <!-- {x-version-update;junit:junit;external_dependency} -->
<version>4.13.1</version> <!-- {x-version-update;junit:junit;external_dependency} -->
<scope>test</scope>
</dependency>

Expand Down

0 comments on commit 50add53

Please sign in to comment.