Skip to content

Commit 85519c0

Browse files
MariamalmesferMariam-Almesfer
authored andcommitted
Fix CVE-2025-48924: Remove commons-lang from presto-pinot
1 parent a07aa74 commit 85519c0

File tree

5 files changed

+11
-9
lines changed

5 files changed

+11
-9
lines changed

presto-accumulo/pom.xml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -232,12 +232,6 @@
232232
<artifactId>guice</artifactId>
233233
</dependency>
234234

235-
<dependency>
236-
<groupId>commons-lang</groupId>
237-
<artifactId>commons-lang</artifactId>
238-
<version>2.6</version>
239-
</dependency>
240-
241235
<dependency>
242236
<groupId>org.apache.commons</groupId>
243237
<artifactId>commons-lang3</artifactId>

presto-accumulo/src/main/java/com/facebook/presto/accumulo/index/Indexer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
import org.apache.accumulo.core.iterators.user.SummingCombiner;
4747
import org.apache.accumulo.core.security.Authorizations;
4848
import org.apache.accumulo.core.security.ColumnVisibility;
49-
import org.apache.commons.lang.ArrayUtils;
49+
import org.apache.commons.lang3.ArrayUtils;
5050
import org.apache.commons.lang3.tuple.Pair;
5151
import org.apache.hadoop.io.Text;
5252

presto-accumulo/src/main/java/com/facebook/presto/accumulo/io/AccumuloRecordCursor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
import org.apache.accumulo.core.data.Value;
3131
import org.apache.accumulo.core.iterators.FirstEntryInRowIterator;
3232
import org.apache.accumulo.core.iterators.user.WholeRowIterator;
33-
import org.apache.commons.lang.StringUtils;
33+
import org.apache.commons.lang3.StringUtils;
3434
import org.apache.hadoop.io.Text;
3535

3636
import java.io.IOException;

presto-accumulo/src/main/java/com/facebook/presto/accumulo/model/Row.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
import com.google.common.base.Splitter;
2222
import com.google.common.collect.ImmutableList;
2323
import com.google.common.collect.ImmutableMap;
24-
import org.apache.commons.lang.StringUtils;
24+
import org.apache.commons.lang3.StringUtils;
2525

2626
import java.sql.Date;
2727
import java.sql.Time;

presto-pinot-toolkit/pom.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@
6666
<groupId>commons-codec</groupId>
6767
<artifactId>commons-codec</artifactId>
6868
</exclusion>
69+
<exclusion>
70+
<groupId>commons-lang</groupId>
71+
<artifactId>commons-lang</artifactId>
72+
</exclusion>
6973
<exclusion>
7074
<groupId>commons-codec</groupId>
7175
<artifactId>commons-lang3</artifactId>
@@ -298,6 +302,10 @@
298302
<groupId>commons-logging</groupId>
299303
<artifactId>commons-logging</artifactId>
300304
</exclusion>
305+
<exclusion>
306+
<groupId>commons-lang</groupId>
307+
<artifactId>commons-lang</artifactId>
308+
</exclusion>
301309
<exclusion>
302310
<groupId>com.google.protobuf</groupId>
303311
<artifactId>protobuf-java</artifactId>

0 commit comments

Comments
 (0)