diff --git a/samples/openapi3/client/petstore/spring-cloud/pom.xml b/samples/openapi3/client/petstore/spring-cloud/pom.xml
index d657a9e588fc..6cf03f42f535 100644
--- a/samples/openapi3/client/petstore/spring-cloud/pom.xml
+++ b/samples/openapi3/client/petstore/spring-cloud/pom.xml
@@ -54,7 +54,7 @@
org.springframework.security
spring-security-oauth2-client
- 5.7.8
+ 6.3.8
com.fasterxml.jackson.datatype