Skip to content

Commit

Permalink
Jackson with MySQL connector CVE - partial update (#4858)
Browse files Browse the repository at this point in the history
* Update Jooby,Bayou,Activeweb,Dropwizard and OfficeFloor

* Update all of the easy ones.

* Update restexpress and undertow-jersey

* Update restexpress exclusions

* Update ninja-standalone
  • Loading branch information
Radoslav Petrov authored and NateBrady23 committed Jun 16, 2019
1 parent 36d1830 commit def0559
Show file tree
Hide file tree
Showing 24 changed files with 137 additions and 41 deletions.
4 changes: 2 additions & 2 deletions frameworks/Java/activeweb/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -115,12 +115,12 @@
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>2.9.8</version>
<version>2.9.9</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.9.8</version>
<version>2.9.9</version>
</dependency>
</dependencies>

Expand Down
2 changes: 1 addition & 1 deletion frameworks/Java/bayou/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.9.8</version>
<version>2.9.9</version>
</dependency>

</dependencies>
Expand Down
2 changes: 1 addition & 1 deletion frameworks/Java/comsat/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ targetCompatibility = 1.8

version = '0.3'

ext.jacksonVer = '2.9.7'
ext.jacksonVer = '2.9.9'
ext.quasarVer = '0.7.5'
ext.comsatVer = '0.7.0'
ext.capsuleVer = '1.0.2'
Expand Down
2 changes: 1 addition & 1 deletion frameworks/Java/dropwizard/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<dropwizard.version>1.3.10</dropwizard.version>
<dropwizard.version>1.3.12</dropwizard.version>
<javax-activation.version>1.1.1</javax-activation.version>
<jaxb.version>2.3.0</jaxb.version>
<mysql-connector-java.version>5.1.47</mysql-connector-java.version>
Expand Down
5 changes: 2 additions & 3 deletions frameworks/Java/grizzly/pom-jersey.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
<grizzly.version>2.4.4</grizzly.version>
<hibernate.version>5.4.2.Final</hibernate.version>
<hibernate-jpa-api.version>1.0.0.Final</hibernate-jpa-api.version>
<jackson.version>2.9.8</jackson.version>
<jackson.version>2.9.9</jackson.version>
<jaxb.version>2.3.0</jaxb.version>
<jersey.version>2.28</jersey.version>
<maven-compiler-plugin.version>3.7.0</maven-compiler-plugin.version>
<maven-compiler-plugin.version>3.8.0</maven-compiler-plugin.version>
<maven-shade-plugin.version>3.1.0</maven-shade-plugin.version>
<mustache.version>0.9.6</mustache.version>
<mysql-connector.version>5.1.47</mysql-connector.version>
Expand Down Expand Up @@ -180,7 +180,6 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<optimize>true</optimize>
<debug>false</debug>
</configuration>
</plugin>
Expand Down
6 changes: 3 additions & 3 deletions frameworks/Java/grizzly/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
</properties>

<build>
Expand Down Expand Up @@ -72,7 +72,7 @@
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.9.8</version>
<version>2.9.9</version>
</dependency>
</dependencies>
</project>
12 changes: 6 additions & 6 deletions frameworks/Java/httpserver/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,20 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
</properties>

<dependencies>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.9.7</version>
<version>2.9.9</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.module</groupId>
<artifactId>jackson-module-afterburner</artifactId>
<version>2.9.7</version>
<version>2.9.9</version>
</dependency>

<dependency>
Expand All @@ -34,7 +34,7 @@
<dependency>
<groupId>com.zaxxer</groupId>
<artifactId>HikariCP</artifactId>
<version>3.2.0</version>
<version>3.3.1</version>
</dependency>

<dependency>
Expand All @@ -46,7 +46,7 @@
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>1.7.25</version>
<version>1.8.0-beta4</version>
</dependency>
</dependencies>

Expand Down
2 changes: 1 addition & 1 deletion frameworks/Java/javalin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ repositories {

dependencies {
compile 'io.javalin:javalin:2.8.0'
compile "com.fasterxml.jackson.core:jackson-databind:2.9.8"
compile "com.fasterxml.jackson.core:jackson-databind:2.9.9"
compile "org.slf4j:slf4j-simple:1.8.0-beta4"
}

Expand Down
4 changes: 2 additions & 2 deletions frameworks/Java/jlhttp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.9.8</version>
<version>2.9.9</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.module</groupId>
<artifactId>jackson-module-afterburner</artifactId>
<version>2.9.8</version>
<version>2.9.9</version>
</dependency>

<dependency>
Expand Down
2 changes: 1 addition & 1 deletion frameworks/Java/jooby/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<name>jooby</name>

<properties>
<jooby.version>1.6.0</jooby.version>
<jooby.version>1.6.2</jooby.version>
<postgresql.version>42.2.5</postgresql.version>
<rocker.touchFile>/dev/null</rocker.touchFile>
<maven.compiler.source>11</maven.compiler.source>
Expand Down
8 changes: 4 additions & 4 deletions frameworks/Java/light-java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<version.light-4j>2.0.0-BETA2</version.light-4j>
<version.light-4j>2.0.1</version.light-4j>
<version.logback>1.2.3</version.logback>
<version.undertow>2.0.16.Final</version.undertow>
<version.hikaricp>3.2.0</version.hikaricp>
<version.undertow>2.0.21.Final</version.undertow>
<version.hikaricp>3.3.1</version.hikaricp>
<version.mysql>5.1.47</version.mysql>
<version.postgres>42.2.5</version.postgres>
<version.dsl-json>1.8.4</version.dsl-json>
<version.mustache>0.9.5</version.mustache>
<version.mustache>0.9.6</version.mustache>
<version.maven-compiler-plugin>3.8.0</version.maven-compiler-plugin>
<version.maven-jar-plugin>3.0.2</version.maven-jar-plugin>
<version.maven-shade-plugin>3.1.0</version.maven-shade-plugin>
Expand Down
4 changes: 2 additions & 2 deletions frameworks/Java/nanohttpd/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.9.8</version>
<version>2.9.9</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.module</groupId>
<artifactId>jackson-module-afterburner</artifactId>
<version>2.9.8</version>
<version>2.9.9</version>
</dependency>
</dependencies>

Expand Down
40 changes: 40 additions & 0 deletions frameworks/Java/ninja-standalone/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,46 @@
<groupId>org.ninjaframework</groupId>
<artifactId>ninja-servlet</artifactId>
<version>${ninja.version}</version>
<exclusions>
<exclusion>
<artifactId>com.fasterxml.jackson.core</artifactId>
<groupId>jackson-core</groupId>
</exclusion>
<exclusion>
<artifactId>com.fasterxml.jackson.module</artifactId>
<groupId>jackson-module-afterburner</groupId>
</exclusion>
<exclusion>
<artifactId>com.fasterxml.jackson.dataformat</artifactId>
<groupId>jackson-dataformat-xml</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>2.9.9</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.module</groupId>
<artifactId>jackson-module-afterburner</artifactId>
<version>2.9.9</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-xml</artifactId>
<version>2.9.9</version>
<exclusions>
<exclusion>
<artifactId>com.fasterxml.jackson.core</artifactId>
<groupId>jackson-annotations</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>2.9.9</version>
</dependency>

<dependency>
Expand Down
7 changes: 6 additions & 1 deletion frameworks/Java/officefloor/src/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<packaging>pom</packaging>
<name>OfficeFloor Benchmarks</name>
<properties>
<officefloor.version>3.9.2</officefloor.version>
<officefloor.version>3.10.2</officefloor.version>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<jaxb.version>2.3.0</jaxb.version>
Expand Down Expand Up @@ -51,6 +51,11 @@
<artifactId>woof_benchmark_micro</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.9.9</version>
</dependency>
</dependencies>
</dependencyManagement>
<build>
Expand Down
22 changes: 22 additions & 0 deletions frameworks/Java/restexpress/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,28 @@
<groupId>com.strategicgains</groupId>
<artifactId>RestExpress</artifactId>
<version>0.12.0-SNAPSHOT</version>
<exclusions>
<exclusion>
<artifactId>com.fasterxml.jackson.core</artifactId>
<groupId>jackson-databind</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.9.9</version>
<exclusions>
<exclusion>
<artifactId>com.fasterxml.jackson.core</artifactId>
<groupId>jackson-annotations</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>2.9.9</version>
</dependency>
<dependency>
<groupId>com.strategicgains.repoexpress</groupId>
Expand Down
2 changes: 1 addition & 1 deletion frameworks/Java/servlet/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<cache2k-version>1.2.1.Final</cache2k-version>
<jackson-version>2.9.8</jackson-version>
<jackson-version>2.9.9</jackson-version>
<!-- This is the default web.xml for plaintext and json only -->
<maven.war.xml>src/main/webapp/WEB-INF/web.xml</maven.war.xml>
</properties>
Expand Down
2 changes: 1 addition & 1 deletion frameworks/Java/servlet3/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.9.8</version>
<version>2.9.9</version>
</dependency>

<dependency>
Expand Down
2 changes: 1 addition & 1 deletion frameworks/Java/tapestry/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ of testing facilities designed for use with TestNG (http://testng.org/), so it's
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.9.8</version>
<version>2.9.9</version>
</dependency>
<dependency>
<groupId>org.glassfish.jaxb</groupId>
Expand Down
32 changes: 31 additions & 1 deletion frameworks/Java/undertow-jersey/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,36 @@
<groupId>org.glassfish.jersey.media</groupId>
<artifactId>jersey-media-json-jackson</artifactId>
<version>${jersey.version}</version>
<exclusions>
<exclusion>
<artifactId>com.fasterxml.jackson.core</artifactId>
<groupId>jackson-annotations</groupId>
</exclusion>
<exclusion>
<artifactId>com.fasterxml.jackson.core</artifactId>
<groupId>jackson-databind</groupId>
</exclusion>
<exclusion>
<artifactId>com.fasterxml.jackson.module</artifactId>
<groupId>jackson-module-jaxb-annotations</groupId>
</exclusion>
</exclusions>
</dependency>

<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>2.9.9</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.9.9</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.module</groupId>
<artifactId>jackson-module-jaxb-annotations</artifactId>
<version>2.9.9</version>
</dependency>

<dependency>
Expand All @@ -144,7 +174,7 @@
<dependency>
<groupId>io.undertow</groupId>
<artifactId>undertow-core</artifactId>
<version>2.0.20.Final</version>
<version>2.0.21.Final</version>
</dependency>

<dependency>
Expand Down
8 changes: 4 additions & 4 deletions frameworks/Java/undertow/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<hikaricp.version>3.2.0</hikaricp.version>
<jackson.version>2.9.7</jackson.version>
<hikaricp.version>3.3.1</hikaricp.version>
<jackson.version>2.9.9</jackson.version>
<maven-shade-plugin.version>3.2.0</maven-shade-plugin.version>
<mustache.version>0.9.5</mustache.version>
<mustache.version>0.9.6</mustache.version>
<postgresql.version>42.2.5</postgresql.version>
<undertow.version>2.0.15.Final</undertow.version>
<undertow.version>2.0.21.Final</undertow.version>
</properties>

<prerequisites>
Expand Down
2 changes: 1 addition & 1 deletion frameworks/Java/vertx-web/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
<dependency>
<groupId>com.fasterxml.jackson.module</groupId>
<artifactId>jackson-module-afterburner</artifactId>
<version>2.9.8</version>
<version>2.9.9</version>
</dependency>

<dependency>
Expand Down
Loading

0 comments on commit def0559

Please sign in to comment.