Skip to content

Commit

Permalink
Upgrade org.apache.logging.log4j:log4j-core and log4j-api libraries i…
Browse files Browse the repository at this point in the history
…n presto

Upgraded org.apache.logging.log4j:log4j-core from 2.17.1 to 2.24.3
Upgraded org.apache.logging.log4j:log4j-api from 2.17.1 to 2.24.3

Fixes almost 25 CVEs.
  • Loading branch information
Dilli-Babu-Godari authored and godaridillibabu committed Feb 12, 2025
1 parent 903520c commit 792118c
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 6 deletions.
15 changes: 15 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@
<air.test.thread-count>2</air.test.thread-count>
<air.test.jvmsize>4g</air.test.jvmsize>
<grpc.version>1.68.0</grpc.version>
<dep.log4j.version>2.24.3</dep.log4j.version>

<air.javadoc.lint>-missing</air.javadoc.lint>
</properties>
Expand Down Expand Up @@ -233,6 +234,20 @@
<scope>import</scope>
</dependency>

<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
<version>${dep.log4j.version}</version>
<scope>runtime</scope>
</dependency>

<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>${dep.log4j.version}</version>
<scope>runtime</scope>
</dependency>

<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-transport</artifactId>
Expand Down
3 changes: 0 additions & 3 deletions presto-druid/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

<properties>
<air.main.basedir>${project.parent.basedir}</air.main.basedir>
<dep.log4j.version>2.17.1</dep.log4j.version>
</properties>

<repositories>
Expand Down Expand Up @@ -178,14 +177,12 @@
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
<version>${dep.log4j.version}</version>
<scope>runtime</scope>
</dependency>

<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>${dep.log4j.version}</version>
<scope>runtime</scope>
</dependency>

Expand Down
3 changes: 0 additions & 3 deletions presto-elasticsearch/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@

<properties>
<air.main.basedir>${project.parent.basedir}</air.main.basedir>
<dep.log4j.version>2.17.1</dep.log4j.version>
<dep.elasticsearch.version>6.0.0</dep.elasticsearch.version>
</properties>

Expand Down Expand Up @@ -173,14 +172,12 @@
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
<version>${dep.log4j.version}</version>
<scope>runtime</scope>
</dependency>

<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>${dep.log4j.version}</version>
<scope>runtime</scope>
</dependency>

Expand Down

0 comments on commit 792118c

Please sign in to comment.