fix(deps): update dependency org.springframework:spring-webmvc to v6 [security] - autoclosed#38
Closed
renovate[bot] wants to merge 1 commit intomasterfrom
Conversation
ae96541 to
a4e1556
Compare
89bde59 to
4a625ea
Compare
4a625ea to
f23e152
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.2.15.RELEASE->6.1.14GitHub Vulnerability Alerts
CVE-2022-22965
Spring Framework prior to versions 5.2.20 and 5.3.18 contains a remote code execution vulnerability known as
Spring4Shell.Impact
A Spring MVC or Spring WebFlux application running on JDK 9+ may be vulnerable to remote code execution (RCE) via data binding. The specific exploit requires the application to run on Tomcat as a WAR deployment. If the application is deployed as a Spring Boot executable jar, i.e. the default, it is not vulnerable to the exploit. However, the nature of the vulnerability is more general, and there may be other ways to exploit it.
These are the prerequisites for the exploit:
spring-webmvcorspring-webfluxdependencyPatches
Workarounds
For those who are unable to upgrade, leaked reports recommend setting
disallowedFieldsonWebDataBinderthrough an@ControllerAdvice. This works generally, but as a centrally applied workaround fix, may leave some loopholes, in particular if a controller setsdisallowedFieldslocally through its own@InitBindermethod, which overrides the global setting.To apply the workaround in a more fail-safe way, applications could extend
RequestMappingHandlerAdapterto update theWebDataBinderat the end after all other initialization. In order to do that, a Spring Boot application can declare aWebMvcRegistrationsbean (Spring MVC) or aWebFluxRegistrationsbean (Spring WebFlux).CVE-2016-9878
An issue was discovered in Pivotal Spring Framework before 3.2.18, 4.2.x before 4.2.9, and 4.3.x before 4.3.5. Paths provided to the ResourceServlet were not properly sanitized and as a result exposed to directory traversal attacks.
CVE-2024-38819
Applications serving static resources through the functional web frameworks WebMvc.fn or WebFlux.fn are vulnerable to path traversal attacks. An attacker can craft malicious HTTP requests and obtain any file on the file system that is also accessible to the process in which the Spring application is running.
Release Notes
spring-projects/spring-framework (org.springframework:spring-webmvc)
v6.1.14Compare Source
⭐ New Features
QualifierAnnotationAutowireCandidateResolver#33580MethodArgumentTypeMismatchExceptionerror message #33573🐞 Bug Fixes
MethodParameter.getMethod()check inKotlinDelegate.hasDefaultValue()#33609AotTestExecutionListenershould not be invoked for a@DisabledInAotModetest class #33589org.springframework.util.ResourceUtils#toRelativeURLdrops customURLStreamHandler#33561ZoneIdEditorthrows wrong exception type forTypeConverterSupport#33545@CacheablethrowsNullPointerExceptionwhenRuntimeExceptionis thrown inside annotated code #33492HttpComponentsClientHttpResponseignoresExpirescookie attribute #33157📔 Documentation
🔨 Dependency Upgrades
❤️ Contributors
Thank you to all the contributors who worked on this release:
@arey, @asibross, @boulce, @drdpov, @hosamaly, @ilya40umov, @izeye, and @junhyeongkim2
v6.1.13Compare Source
⭐ New Features
resultinWebAsyncManager#33406🐞 Bug Fixes
Rendering#33498📔 Documentation
-debugcompiler flag in reference manual #33453@ImportResourcein the reference manual #33446@RequestBody#33409🔨 Dependency Upgrades
❤️ Contributors
Thank you to all the contributors who worked on this release:
@dancer1325, @izeye, and @yfoel
v6.1.12Compare Source
⭐ New Features
@javax.inject.Namedannotation #33345🐞 Bug Fixes
SimpleEvaluationContextdoes not enforce read-only semantics #33319Object[]when invoking varargs method #33317Indexersilently ignores failure to set property as index #33310@Scheduledmethod in test class not supported anymore #33286@JmsListenerresponse messages #33221ConversionServicecannot convert primitive array toObject[]#33212@Cacheable#33210MethodHandlefunction with a primitive array #33198AopUtils#33045📔 Documentation
RestClientdocumentation #33350🔨 Dependency Upgrades
❤️ Contributors
Thank you to all the contributors who worked on this release:
@GoncaloPT, @crusherd, @genuss, @kashike, @ngocnhan-tran1996, @olbinski, @pcvolkmer, @sheip9, @tafjwr, and @underbell
v6.1.11Compare Source
⭐ New Features
MethodHandleis notnullin SpEL'sReflectionHelper#33193PrematureCloseExceptionduring response #33127getTypeForFactoryMethodshould catchNoClassDefFoundError#33075🐞 Bug Fixes
MethodHandlefunction with an array #33191MethodHandlefunction with zero variable arguments #33190java.nio.file.Path(and plain "." value resolves to classpath root) #33124@Transactional#33095LocalContainerEntityManagerFactoryBeaninitialization fails in case of null bean definition #33082ReactorNettyClientRequest.convertExceptionshould include original exception if cause isnull#33080Object...varargs method #33013📔 Documentation
ModelMapis not a supported argument type in WebFlux #33107InputStreamResourcefor content length bypass #33089🔨 Dependency Upgrades
❤️ Contributors
Thank you to all the contributors who worked on this release:
@TAKETODAY, @hunhee98, @imvtsl, @snussbaumer, and @zizare
v6.1.10Compare Source
⭐ New Features
PersistenceExceptionTranslatorbean retrieval inPersistenceExceptionTranslationInterceptoron shutdown #33067DisconnectedClientHelper#33064🐞 Bug Fixes
@Autowired@Beanmethod with@Valueparameter #33030📔 Documentation
❤️ Contributors
Thank you to all the contributors who worked on this release:
@tafjwr
v6.1.9Compare Source
⭐ New Features
@TenantId#32967🐞 Bug Fixes
canEncode()forJAXBElementinJaxb2XmlEncoder#32977@Validannotations on container elements for handler argument validation not supported #32964StringUtils#cleanPath#32962@CacheEvictcondition uses wrapper comparison instead of actual objects #32960ReactorResourceFactorynot working with CRaC onRefresh checkpoint #32945Integer#32908Mapwith a primitive #32903@EnableTransactionManagement(mode = AdviceMode.ASPECTJ) #32882📔 Documentation
RegisterReflectionForBindingJavadoc #32947MethodValidationPostProcessoris missing astatickeyword #32929KotlinDetector.isKotlinTypedocumentation for Kotlin 2.x lambdas #32905🔨 Dependency Upgrades
❤️ Contributors
Thank you to all the contributors who worked on this release:
@Attacktive, @Seungpang, @deblockt, @hlmg, @ozooxo, @soglad, and @ypyf
v6.1.8Compare Source
⭐ New Features
🐞 Bug Fixes
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE\_TIME)cannot convert UTC without milliseconds tojava.util.Date#32856@Configurableaspect #32838📔 Documentation
❤️ Contributors
Thank you to all the contributors who worked on this release:
@rwinch
v6.1.7Compare Source
⭐ New Features
@Aspectclasses for Spring AOP proxy usage #32793🐞 Bug Fixes
AnnotationConfigWebApplicationContextshould propagateApplicationStartuptoBeanFactory#32747PropertiesPropertySource.getPropertyNames()#32742MergedAnnotationssearch does not find container for repeatable annotation #32731ScopedProxyMode.TARGET\_CLASSand advisors #32669📔 Documentation
ResponseCookie#32663Flux<T>return values #32630factory-methoddoes not always determine correct target type #32091@Orderbehavior on types, bean methods, and config classes #30177@Transactionalre-entrant calls) #28299🔨 Dependency Upgrades
❤️ Contributors
Thank you to all the contributors who worked on this release:
@LeMikaelF, @Seungpang, @izeye, @m4tt30c91, @remeio, and @yhao3
v6.1.6⭐ New Features
JdbcUtils.getResultSetValue#32601FactoryBeantype matching when usinggetBeanProvider#32590@RequestParambinding does not support params with an empty array "[]" suffix #32577Annotationarray cloning inTypeDescriptor#32476Annotationarray inTypeDescriptor#32405🐞 Bug Fixes
MethodIntrospector.selectMethods()fails to detect bridge methods across ApplicationContexts #32586CompoundExpressionomits null-safe syntax in AST string representation of null-safe selection/projection in SpEL #32515FactoryBeanclass not autowired in case oftargetTypemismatch #32489HeaderContentNegotiationStrategy.resolveMediaTypes()throws unexpectedInvalidMimeTypeException#32483📔 Documentation
🔨 Dependency Upgrades
❤️ Contributors
Thank you to all the contributors who worked on this release:
@Banuelorigni, @LinorDolev, @T45K, @izeye, @kilink, @quaff, and @qww1552
v6.1.5⭐ New Features
ServletServerHttpResponse#32361\*HttpMessageConverter#getContentLengthreturn value null safety #32325🐞 Bug Fixes
booleanarray #32400@Cacheable#32370ServletResponseHttpHeaders#getnull handling #32362#rootor#thisis a non-public type #32356value classparameters #32353constructor-implof Kotlinvalue classis not called #32324HHH-17643#32311📔 Documentation
Configuration
📅 Schedule: Branch creation - "" (UTC), 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 was generated by Mend Renovate. View the repository job log.