diff --git a/samples/client/petstore/spring-cloud-deprecated/pom.xml b/samples/client/petstore/spring-cloud-deprecated/pom.xml
index 617d47fa5fd1..ec4b42688cf9 100644
--- a/samples/client/petstore/spring-cloud-deprecated/pom.xml
+++ b/samples/client/petstore/spring-cloud-deprecated/pom.xml
@@ -68,7 +68,7 @@
org.springframework.security
spring-security-oauth2-client
- 5.7.8
+ 6.4.11
com.fasterxml.jackson.datatype