diff --git a/sdk/cosmos/azure-cosmos-benchmark/pom.xml b/sdk/cosmos/azure-cosmos-benchmark/pom.xml
index 84a4d66cbef5..4b3b9b4ba6bb 100644
--- a/sdk/cosmos/azure-cosmos-benchmark/pom.xml
+++ b/sdk/cosmos/azure-cosmos-benchmark/pom.xml
@@ -146,7 +146,7 @@ Licensed under the MIT License.
org.apache.commons
commons-lang3
- 3.12.0
+ 3.18.0
diff --git a/sdk/spring/azure-spring-data-cosmos/pom.xml b/sdk/spring/azure-spring-data-cosmos/pom.xml
index 5491cd1cca49..319bbf305726 100644
--- a/sdk/spring/azure-spring-data-cosmos/pom.xml
+++ b/sdk/spring/azure-spring-data-cosmos/pom.xml
@@ -130,7 +130,7 @@
org.apache.commons
commons-lang3
- 3.17.0
+ 3.18.0