Skip to content

Commit

Permalink
[JENKINS-31598] upgrade commons-collections due to CVE against v3.2.1 (
Browse files Browse the repository at this point in the history
…#2761)

* [JENKINS-31598] upgrade commons-collections due to CVE against v3.2.1

* Fix broken tests
  • Loading branch information
pjfanning authored and oleg-nenashev committed Feb 25, 2017
1 parent 0713bf0 commit 46d3f2e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion core/pom.xml
Expand Up @@ -491,7 +491,7 @@ THE SOFTWARE.
<dependency>
<groupId>commons-collections</groupId>
<artifactId>commons-collections</artifactId>
<version>3.2.1</version>
<version>3.2.2</version>
</dependency>
<dependency>
<groupId>org.jvnet.winp</groupId>
Expand Down
8 changes: 4 additions & 4 deletions test/src/test/java/jenkins/security/Security218CliTest.java
Expand Up @@ -57,7 +57,7 @@ public void probeCommonsBeanutils1() throws Exception {
@Test
@Issue("SECURITY-218")
public void probeCommonsCollections1() throws Exception {
probe(Payload.CommonsCollections1, PayloadCaller.EXIT_CODE_REJECTED);
probe(Payload.CommonsCollections1, 1);
}

@PresetData(PresetData.DataSet.ANONYMOUS_READONLY)
Expand All @@ -73,7 +73,7 @@ public void probeCommonsCollections2() throws Exception {
@Test
@Issue("SECURITY-317")
public void probeCommonsCollections3() throws Exception {
probe(Payload.CommonsCollections3, PayloadCaller.EXIT_CODE_REJECTED);
probe(Payload.CommonsCollections3, 1);
}

@PresetData(PresetData.DataSet.ANONYMOUS_READONLY)
Expand All @@ -87,14 +87,14 @@ public void probeCommonsCollections4() throws Exception {
@Test
@Issue("SECURITY-317")
public void probeCommonsCollections5() throws Exception {
probe(Payload.CommonsCollections5, PayloadCaller.EXIT_CODE_REJECTED);
probe(Payload.CommonsCollections5, 1);
}

@PresetData(PresetData.DataSet.ANONYMOUS_READONLY)
@Test
@Issue("SECURITY-317")
public void probeCommonsCollections6() throws Exception {
probe(Payload.CommonsCollections6, PayloadCaller.EXIT_CODE_REJECTED);
probe(Payload.CommonsCollections6, 1);
}

@PresetData(PresetData.DataSet.ANONYMOUS_READONLY)
Expand Down

0 comments on commit 46d3f2e

Please sign in to comment.