fix(deps): update dependency org.springframework:spring-web to v6 [security] #1169
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:
5.2.22.RELEASE->6.0.0GitHub Vulnerability Alerts
CVE-2016-1000027
Pivotal Spring Framework before 6.0.0 suffers from a potential remote code execution (RCE) issue if used for Java deserialization of untrusted data. Depending on how the library is implemented within a product, this issue may or not occur, and authentication may be required.
Maintainers recommend investigating alternative components or a potential mitigating control. Version 4.2.6 and 3.2.17 contain enhanced documentation advising users to take precautions against unsafe Java deserialization, version 5.3.0 deprecate the impacted classes and version 6.0.0 removed it entirely.
CVE-2024-22259
Applications that use UriComponentsBuilder in Spring Framework to parse an externally provided URL (e.g. through a query parameter) AND perform validation checks on the host of the parsed URL may be vulnerable to a open redirect https://cwe.mitre.org/data/definitions/601.html attack or to a SSRF attack if the URL is used after passing validation checks.
This is the same as CVE-2024-22243 https://spring.io/security/cve-2024-22243, but with different input.
CVE-2024-38809
Description
Applications that parse ETags from
If-MatchorIf-None-Matchrequest headers are vulnerable to DoS attack.Affected Spring Products and Versions
org.springframework:spring-web in versions
6.1.0 through 6.1.11
6.0.0 through 6.0.22
5.3.0 through 5.3.37
Older, unsupported versions are also affected
Mitigation
Users of affected versions should upgrade to the corresponding fixed version.
6.1.x -> 6.1.12
6.0.x -> 6.0.23
5.3.x -> 5.3.38
No other mitigation steps are necessary.
Users of older, unsupported versions could enforce a size limit on
If-MatchandIf-None-Matchheaders, e.g. through a Filter.CVE-2024-22262
Applications that use UriComponentsBuilder to parse an externally provided URL (e.g. through a query parameter) AND perform validation checks on the host of the parsed URL may be vulnerable to a open redirect https://cwe.mitre.org/data/definitions/601.html attack or to a SSRF attack if the URL is used after passing validation checks.
This is the same as CVE-2024-22259 https://spring.io/security/cve-2024-22259 and CVE-2024-22243 https://spring.io/security/cve-2024-22243 , but with different input.
Release Notes
spring-projects/spring-framework (org.springframework:spring-web)
v6.0.0Compare Source
See What's New in Spring Framework 6.x and Upgrading to Spring Framework 6.x for upgrade instructions and details of new features.
⭐ New Features
📔 Documentation
🔨 Dependency Upgrades
❤️ Contributors
Thank you to all the contributors who worked on this release:
@ophiuhus and @wilkinsona
v5.3.39⭐ New Features
v5.3.38⭐ New Features
🐞 Bug Fixes
SimpleEvaluationContextdoes not enforce read-only semantics #33320ConversionServicecannot convert primitive array toObject[]#33314Indexersilently ignores failure to set property as index #33312java.nio.file.Path(and plain "." value resolves to classpath root) #33140📔 Documentation
🔨 Dependency Upgrades
v5.3.37⭐ New Features
🐞 Bug Fixes
Mapwith a primitive #32911Integer#32909@EnableTransactionManagement(mode = AdviceMode.ASPECTJ) #32885🔨 Dependency Upgrades
v5.3.36🐞 Bug Fixes
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE\_TIME)cannot convert UTC without milliseconds tojava.util.Date#32860@Configurableaspect #32840v5.3.35⭐ New Features
@Aspectclasses for Spring AOP proxy usage #32818🐞 Bug Fixes
MergedAnnotationssearch does not find container for repeatable annotation #32751AnnotationConfigWebApplicationContextshould propagateApplicationStartuptoBeanFactory#32749PropertiesPropertySource.getPropertyNames()#32744📔 Documentation
ResponseCookie#32668🔨 Dependency Upgrades
v5.3.34⭐ New Features
JdbcUtils.getResultSetValue#32603Annotationarray cloning inTypeDescriptor#32477Annotationarray inTypeDescriptor#32466🐞 Bug Fixes
MethodIntrospector.selectMethods()fails to detect bridge methods across ApplicationContexts #32588🔨 Dependency Upgrades
v5.3.33⭐ New Features
*HttpMessageConverter#getContentLengthreturn value null safety #32332🐞 Bug Fixes
📔 Documentation
5.3.xSpring Framework Javadoc #32414🔨 Dependency Upgrades
v5.3.32⭐ New Features
🐞 Bug Fixes
MergedAnnotationsfinds duplicate annotations on method in multi-level interface hierarchy #31825Query.scroll()inSharedEntityManagerCreator'squeryTerminatingMethodsset #31684equalsmethod (for ConversionService caching) #31674📔 Documentation
🔨 Dependency Upgrades
v5.3.31⭐ New Features
Log4jLogneeds to re-resolveExtendedLoggeron deserialization (for compatibility with Log4J 2.21) #31583🐞 Bug Fixes
@Nullable#31611PathMatchingResourcePatternResolveron MS Windows #31603SqlOutParameter#31560BeanCopierfalls back toClassLoader.defineClassfor public target #31436HibernateJpaDialectandHibernateExceptionTranslatorthrowSQLExceptionTranslator-provided exception instead of returning it #31410NamedParameterJdbcTemplatethrows unexpected exception fornullquery #31394LazyResolutionMessagedoes not implement propertoString#31385ContextOverridingClassLoader.isEligibleForOverriding#31233📔 Documentation
@Transactionalon interfaces #31401@Beanmethod in a@Configurationclass'@PostConstructmethod leads to circular reference #31339🔨 Dependency Upgrades
v5.3.30⭐ New Features
ClassUtils#getMostSpecificMethod#31100StringUtils#31069PayloadMethodArgumentResolver#31056ReactiveAdapterRegistry#31048@Autowiredmethods on same bean class #30994🐞 Bug Fixes
LogFactoryimplementation deviates from original ApacheLogFactoryin terms of abstract method declarations #31167nullSafeConciseToString()invokingisEmpty()on aMap/Collectionproxy #31156@DynamicPropertySourcein@Nestedtest class cannot override dynamic properties from enclosing class #31085TransactionalApplicationListenerMethodAdaptershould find@TransactionalEventListeneron target class method #31037ClassInfocaching injava.beans.Introspectoron JDK 11/17 #31005MethodIntrospector.selectMethods(?)fails to find methods in case of special bridge method arrangement #30907📔 Documentation
ConnectionAccessorandDatabasePopulatorexception declarations #30933@PostConstructthrough SmartInitializingSingleton or ContextRefreshedEvent #30889v5.3.29⭐ New Features
JdbcTemplatedoes not callhandleWarningsin case of exception #30852AnnotationUtils.isCandidateClasscall withnullas annotation type #30843DefaultSingletonBeanRegistry.isDependent()#30841ObjectUtils.nullSafeConciseToString()#30811ObjectUtils.nullSafeConciseToString()#30806ResolvableType.hasUnresolvableGenerics()should cache its result #30715LogFactorycontains all public methods from ApacheLogFactory#30711🐞 Bug Fixes
toString()inFieldError#30800@TransactionalEventListener#30784Jackson2ObjectMapperBuilderbreaks whenmodulescustomizer followsmodulesToInstall#30752📔 Documentation
ReactiveTransactionManagerexception declarations #30819JdbcTransactionManagervsDataSourceTransactionManager#30814🔨 Dependency Upgrades
v5.3.28⭐ New Features
@Nullable#30672Environment.matchesProfiles()for profile expressions #30226🐞 Bug Fixes
@Beanmethod that returnsnull,@AutowiredinjectsNullBeaninstead ofnullfor cached arguments #30551📔 Documentation
@Scheduledattributes support SpEL expressions #30642🔨 Dependency Upgrades
v5.3.27⭐ New Features
StringUtils.truncate()#30291ObjectUtils.nullSafeConciseToString()#30287HttpComponentsHeadersAdapter#getFirstnullable #30269🐞 Bug Fixes
AbstractMessageWriterResultHandler#30215SharedEntityManagerCreator#30164📔 Documentation
@PathVariablereference documentation code snippets #30258@EnableWebSocket#30187🔨 Dependency Upgrades
v5.3.26⭐ New Features
matchesoperator #30145matchesoperator #30141@Nullableannotations toLogMessage.formatmethods #30009MockMvc.multipart()Kotlin extensions withHttpMethod#29941@JmsListenersubscription #29902SharedEntityManagerCreator'squeryTerminatingMethodsset #29888DatabaseClientis eagerly invoked #29887Jackson2ObjectMapperBuilder#configureFeatureexception handling #29860🐞 Bug Fixes
java.lang.Objecton a JDK proxy #30118forwarding-header-strategy=nativeor cloud platform detected #29974Jetty10RequestUpgradeStrategy#29256📔 Documentation
@AspectJargument name resolution algorithm is outdated in reference manual #30057@Beanmethod return type for equivalence with XML example #29970@DynamicPropertySourceexamples regarding changes in Testcontainers #29940primitivesDefaultedForNullValueinBeanPropertyRowMapper#29926DataClassRowMappersupports Java records #29922🔨 Dependency Upgrades
v5.3.25⭐ New Features
🐞 Bug Fixes
ConstructorReferencedoes not generate AST representation of arrays #29666Stringliteral (and vice versa) #29653WebMvcConfigurationSupportshould not catchThrowableforSourceHttpMessageConverter#29537📔 Documentation
🔨 Dependency Upgrades
v5.3.24⭐ New Features
nullWebSocket session attributes #29315🐞 Bug Fixes
📔 Documentation
webjars-locator-coredependency #29322🔨 Dependency Upgrades
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
v5.3.23⭐ New Features
🐞 Bug Fixes
@Nestedtests #29037📔 Documentation
@RequestParamwith WebFlux #28944<tt>HTML tag in Javadoc #28819🔨 Dependency Upgrades
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
[
v5.3.22](https://redirect.github.com/spring-projects/spriConfiguration
📅 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 is behind base branch, 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.