fix(deps): update dependency org.springframework:spring-webmvc to v6.2.19 [security] - #32
fix(deps): update dependency org.springframework:spring-webmvc to v6.2.19 [security]#32alaudaa-renovate[bot] wants to merge 1 commit into
Conversation
|
🚨 Stale Pull Request Warning This pull request has been inactive for 58 days. Automated Actions Schedule:
To keep this PR active:
Protected branches (won't be deleted): This is an automated message. Reply to this comment to reset the inactivity timer. |
|
🚨 Stale Pull Request Warning This pull request has been inactive for 35 days. Automated Actions Schedule:
To keep this PR active:
Protected branches (won't be deleted): This is an automated message. Reply to this comment to reset the inactivity timer. |
1 similar comment
|
🚨 Stale Pull Request Warning This pull request has been inactive for 35 days. Automated Actions Schedule:
To keep this PR active:
Protected branches (won't be deleted): This is an automated message. Reply to this comment to reset the inactivity timer. |
10cd2bf to
e604867
Compare
🤖 AI Code Review
SummaryThis PR updates the Spring Framework version from 6.2.7 to 6.2.18 to address a Path Traversal Vulnerability (CVE-2025-41242). The change is a straightforward version bump that affects spring-webmvc, spring-context, and spring-test dependencies. However, the Review Statistics
Critical Issues
WarningsNo warnings identified. Suggestions
Positive Feedback
Note: The failing ℹ️ About this reviewThis review was automatically generated using the
|
PR Assist Bot — Owner Approval NeededThis PR targets release branch PR: AlaudaDevops/docker-sonarqube#32 Please reply with |
|
[pr-assist-bot] Release Branch Security PR — Owner Approval Needed This PR targets release branch PR: #32 — fix(deps): update dependency org.springframework:spring-webmvc to v6.2.17 [security] Please reply with |
PR Assist Bot AnalysisStatus: All CI checks passing, owner approval received ( |
alaudabot
left a comment
There was a problem hiding this comment.
Review Summary
This PR updates the Spring Framework dependency from version 6.2.7 to 6.2.17 to address security vulnerabilities (CVE-2026-22735 and CVE-2026-22737). The change is minimal and follows the existing dependency management pattern.
Review Statistics:
- Critical Issues: 0
- Warnings: 0
- Suggestions: 1
Suggestion: Consider verifying the build succeeds after the version upgrade.
Positive Feedback:
- Correctly marks as security update
- Minimal, focused change (+1/-1)
- Follows existing dependency pattern
Status: Approved - This PR is good to merge.
e604867 to
ad4908a
Compare
| ext { | ||
| protobufVersion = '4.29.0' | ||
| springVersion = '6.2.7' | ||
| springVersion = '6.2.18' |
There was a problem hiding this comment.
Critical (test/build-failure): The sonarqube-build pipeline has failed. Please investigate whether this is related to the Spring version upgrade before merging.
ad4908a to
d83c60f
Compare
This PR contains the following updates:
6.2.7->6.2.19Spring Framework MVC Applications Path Traversal Vulnerability
CVE-2025-41242 / GHSA-r936-gwx5-v52f
More information
Details
Spring Framework MVC applications can be vulnerable to a “Path Traversal Vulnerability” when deployed on a non-compliant Servlet container.
An application can be vulnerable when all the following are true:
We have verified that applications deployed on Apache Tomcat or Eclipse Jetty are not vulnerable, as long as default security features are not disabled in the configuration. Because we cannot check exploits against all Servlet containers and configuration variants, we strongly recommend upgrading your application.
Severity
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NReferences
This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).
Spring MVC and WebFlux has Server Sent Event stream corruption
CVE-2026-22735 / GHSA-6hcq-hmm3-jj3c
More information
Details
Spring MVC and WebFlux applications are vulnerable to stream corruption when using Server-Sent Events (SSE). This issue affects Spring Foundation: from 7.0.0 through 7.0.5, from 6.2.0 through 6.2.16, from 6.1.0 through 6.1.25, from 5.3.0 through 5.3.46.
Severity
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:L/A:NReferences
This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).
Spring Framework Improper Path Limitation with Script View Templates
CVE-2026-22737 / GHSA-4773-3jfm-qmx3
More information
Details
Use of Java scripting engine enabled (e.g. JRuby, Jython) template views in Spring MVC and Spring WebFlux applications can result in disclosure of content from files outside the configured locations for script template views. This issue affects Spring Framework: from 7.0.0 through 7.0.5, from 6.2.0 through 6.2.16, from 6.1.0 through 6.1.25, from 5.3.0 through 5.3.46.
Severity
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NReferences
This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).
Spring MVC and WebFlux applications are vulnerable to Denial of Service attacks when resolving static resources
CVE-2026-22745 / GHSA-6p4f-wcwh-5vvm
More information
Details
Spring MVC and WebFlux applications are vulnerable to Denial of Service attacks when resolving static resources.
More precisely, an application can be vulnerable when all the following are true:
When all the conditions above are met, the attacker can send malicious requests that are slow to resolve and that can keep HTTP connections in use. This can cause a Denial of Service on the application.
Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LReferences
This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).
Spring MVC and WebFlux applications are vulnerable to cache poisoning when resolving static resources.
CVE-2026-22741 / GHSA-wg35-8jpf-2xv3
More information
Details
Spring MVC and WebFlux applications are vulnerable to cache poisoning when resolving static resources.
More precisely, an application can be vulnerable when all the following are true:
When all the conditions above are met, the attacker can send malicious requests and poison the resource cache with resources using the wrong encoding. This can cause a denial of service by breaking the front-end application for clients.
Severity
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:LReferences
This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).
Spring Framework Multipart Request Smuggling in Spring MVC and WebFlux
CVE-2026-41853 / GHSA-cjpg-rgq5-fr37
More information
Details
Spring MVC and WebFlux applications are vulnerable to Multipart request smuggling attacks.
Affected versions:
Spring Framework 7.0.0 through 7.0.7; 6.2.0 through 6.2.18; 6.1.0 through 6.1.27; 5.3.0 through 5.3.48.
Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NReferences
This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).
Spring Framework Denial of Service via Versioned Resources in Spring MVC and WebFlux
CVE-2026-41842 / GHSA-x23c-287f-qqv5
More information
Details
Spring MVC and WebFlux applications are vulnerable to Denial of Service (DoS) attacks when resolving static resources.
Affected versions:
Spring Framework 7.0.0 through 7.0.7; 6.2.0 through 6.2.18; 6.1.0 through 6.1.27; 5.3.0 through 5.3.48.
Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HReferences
This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).
Spring Framework Open Redirect in Spring MVC and WebFlux
CVE-2026-41844 / GHSA-h3qp-gqrc-q736
More information
Details
A Spring MVC or Spring WebFlux application which configures a mapping for "/**" where the view name is not explicitly specified allows an attacker to craft a link resulting in a 302 redirect to an arbitrary external host via the redirect: prefix.
Affected versions:
Spring Framework 7.0.0 through 7.0.7; 6.2.0 through 6.2.18; 6.1.0 through 6.1.27; 5.3.0 through 5.3.48.
Severity
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:NReferences
This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).
Spring Framework Cross-site Scripting via JSP Form Tags
CVE-2026-41846 / GHSA-957g-f97v-vppc
More information
Details
Spring MVC applications which accept user-supplied values in the cssClass, cssErrorClass, or cssStyle attributes of JSP form tags allow arbitrary HTML/JavaScript code injection, potentially resulting in a cross-site scripting (XSS) vulnerability.
Affected versions:
Spring Framework 7.0.0 through 7.0.7; 6.2.0 through 6.2.18; 6.1.0 through 6.1.27; 5.3.0 through 5.3.48.
Severity
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:NReferences
This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).
Spring Framework Information Disclosure via Static Resource Cache in Spring MVC and WebFlux
CVE-2026-41841 / GHSA-mq64-j8f9-9gcj
More information
Details
Spring MVC and WebFlux applications are vulnerable to Information Disclosure attacks when resolving static resources.
Affected versions:
Spring Framework 7.0.0 through 7.0.7; 6.2.0 through 6.2.18; 6.1.0 through 6.1.27; 5.3.0 through 5.3.48.
Severity
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NReferences
This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).
Spring Framework Cross-site Scripting via JavaScriptUtils
CVE-2026-41845 / GHSA-3chg-m5w7-qfv5
More information
Details
Due to incorrect escaping, the use of JavaScriptUtils.javaScriptEscape() may lead to JavaScript code injection in the browser, potentially resulting in a cross-site scripting (XSS) vulnerability.
Affected versions:
Spring Framework 7.0.0 through 7.0.7; 6.2.0 through 6.2.18; 6.1.0 through 6.1.27; 5.3.0 through 5.3.48.
Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:NReferences
This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).
Spring Framework Path Traversal via Versioned Static Resources in Spring MVC and WebFlux
CVE-2026-41843 / GHSA-72pg-x5f8-j25j
More information
Details
Spring MVC and WebFlux applications are vulnerable to Path Traversal attacks when resolving static resources.
Affected versions:
Spring Framework 7.0.0 through 7.0.7; 6.2.0 through 6.2.18; 6.1.0 through 6.1.27; 5.3.0 through 5.3.48.
Severity
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NReferences
This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).
Release Notes
spring-projects/spring-framework (org.springframework:spring-webmvc)
v6.2.19This maintenance release fixes a high number of CVEs. You can learn more about this in the "Spring and Security In The Times Of AI" blog post. Here is the full list of 16 CVEs:
⭐ New Features
AntPathMatcher#36886ClassLoaderfromDefaultDeserializer#36839NullValueinstances inAbstractValueAdaptingCache#36728🐞 Bug Fixes
CookieLocaleResolver#setLocaleContext#36870ConfigurationClassParserincorrectly removes component-scanned bean when the same class is also registered under a different name via XML #36849📔 Documentation
🔨 Dependency Upgrades
v6.2.18⭐ New Features
SpringValidatorAdapterandMethodValidationAdapterperformance #36624@Deprecated(forRemoval = true) for deleted in 7.0 #36591methodIdentification()inCacheAspectSupportfor removal #36576🐞 Bug Fixes
CoroutineUtils#36643@Sqlfails ifDataSourceis wrapped in aTransactionAwareDataSourceProxy#36630MergedAnnotationdoes not useClassLoaderfor method or field #36614AnnotationBeanNameGeneratorfails when an annotation references a non-existent class #36588FileSystemResourcedoes not strictly follow theResource#isReadable()contract #36585DefaultJmsListenerContainermay hang in an endless loop indoShutdown#36511📔 Documentation
spring.profiles.activeis ignored by@ActiveProfiles#36636MergedAnnotation.asAnnotationAttributes()Javadoc incorrectly states that it creates an immutable map #36568@MockitoBean, etc.) #36542🔨 Dependency Upgrades
v6.2.17⭐ New Features
ResourceHandlerUtilsinScriptTemplateView#36459ScriptTemplateViewTests#36457ConfigurationClassBeanDefinitionReader#36454AbstractTestContextBootstrapper#36431@javax.validation.Constraintfrom convention-based annotation attribute override check #36412MediaType(MediaType, Charset)constructor #36351🐞 Bug Fixes
📔 Documentation
@FallbackalongsidePrimaryin the reference manual and@BeanJavadoc #36441BeanPostProcessorandBeanFactoryPostProcessor#36436UriComponentsBuilderand polish examples #36406@Configurationclasses over XML and Groovy in testing chapter #36394🔨 Dependency Upgrades
v6.2.16⭐ New Features
DataBufferUtils.write()with NettyDataBuffer on JDK 25 hangs indefinitely #36189🐞 Bug Fixes
LocalEntityManagerFactoryBean#setDataSourcework on Hibernate as well as EclipseLink #36272System.exiton startup (against multiple shutdown hooks) #36268Netty4HeadersAdapter.removereturns empty list instead ofnullfor non-existing key #36227EclipseLinkConnectionHandlecan fail against transaction isolation race condition #36166SimpleBeanInfoFactoryfails to reliably resolve read/write methods in type hierarchies with unresolved generics #36026📔 Documentation
LocalContainerEntityManagerFactoryBean#setPersistenceUnitNamejavadoc #36206@GetMapping("/base") is combined with method level@GetMapping("/") #36200getErrors()withgetBindingResult()in examples #36172🔨 Dependency Upgrades
v6.2.15⭐ New Features
TransactionSynchronizationManager#registerSynchronization#35922🐞 Bug Fixes
ConcurrentReferenceHashMap#computeIfAbsentmay cause context initialisation deadlock #35945@Lazyinjection point #35918@Bean-level qualifier annotation #35909📔 Documentation
sessionTransactedflag for local versus global transaction #35898🔨 Dependency Upgrades
v6.2.14⭐ New Features
resetCaches()method to Caffeine/ConcurrentMapCacheManager #35841UnmodifiableMultiValueMap#35831Spliteratorcharacteristics inConcurrentReferenceHashMap#35828🐞 Bug Fixes
getCacheNames()concurrent access in NoOpCacheManager #35844BeanNameAwareand co. #35838📔 Documentation
@seeJavadoc references to deprecated PropertiesBeanDefinitionReader #35854v6.2.13⭐ New Features
selectandoptionsJSP form tags #35783🐞 Bug Fixes
ConcurrentReferenceHashMapmisses dedicatedcomputeIfAbsent,computeIfPresent,compute,mergeimplementations #35794HttpServiceMethodsupport for Kotlin suspending functions returningFlow#35718BatchUpdateExceptionanymore #35717jibx-marshallerelement fromspring-oxm.xsd#35699Mapinjection fails against targetMapwith incomplete generics despite bean name or qualifier match #35690TEST_METHODExtensionContextScopeis not fully supported #35680isAutowirableConstructor(Executable, PropertyProvider)inTestConstructorUtilsand deprecate existing variants #35676getPubliclyAccessibleMethodIfPossible()returns hidden static method #35667📔 Documentation
Monotype #35786@NumberFormatJavadoc #35742TestContextsemantics #35716🔨 Dependency Upgrades
❤️ Contributors
Thank you to all the contributors who worked on this release:
@Anxton, @Artur-, @HJC96, @MoadElfatihi, @NYgomets, @cbsingh1, @dmitrysulman, @ekcom, and @scordio
v6.2.12⭐ New Features
ConfigurationClassBeanDefinitionReader#35631TransientDataAccessExceptionbySQLStateSQLExceptionTranslatorforBatchUpdateException#35547CandidateComponentsIndexandCandidateComponentsIndexLoader#35472🐞 Bug Fixes
Configuration
📅 Schedule: Branch creation - "" in timezone Asia/Shanghai, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.