Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency org.springframework:spring-webflux to v6.1.14 [security] #46

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

svc-secops
Copy link

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
org.springframework:spring-webflux 6.1.10 -> 6.1.14 age adoption passing confidence

Path traversal vulnerability in functional web frameworks

CVE-2024-38816 / GHSA-cx7f-g6mp-7hqm

More information

Details

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.

Specifically, an application is vulnerable when both of the following are true:

  • the web application uses RouterFunctions to serve static resources
  • resource handling is explicitly configured with a FileSystemResource location

However, malicious requests are blocked and rejected when any of the following is true:

Severity

  • CVSS Score: 7.5 / 10 (High)
  • Vector String: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

References

This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).


Spring Framework Path Traversal vulnerability

CVE-2024-38819 / GHSA-g5vr-rgqm-vf78

More information

Details

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.

Severity

  • CVSS Score: 7.5 / 10 (High)
  • Vector String: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

References

This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).


Release Notes

spring-projects/spring-framework (org.springframework:spring-webflux)

v6.1.14

⭐ New Features

  • Use Locale.ROOT for locale neutral, case insensitive comparisons #​33708
  • Improve checks for relative paths in static resource handling #​33689
  • CorsUtils.isCorsRequest throws unhandled IllegalArgumentException and returns 500 Internal Server Error on malfomed Origin header #​33682
  • Skip processing of Java annotations in QualifierAnnotationAutowireCandidateResolver #​33580
  • Include argument name in MethodArgumentTypeMismatchException error message #​33573
  • Preserve coroutine context in WebClientExtensions #​33548
  • Blocking call detected in ConcurrentReferenceHashMap by BlockHound #​33450
  • Warning message about bean post-processing and eager injection may suggest the wrong cause #​33184

🐞 Bug Fixes

  • DelegatingFilterProxy Causes Pinned Virtual Threads #​33656
  • Potential NPE from MethodParameter.getMethod() check in KotlinDelegate.hasDefaultValue() #​33609
  • Missing native image hints for JDK proxies created by JMS connection factories #​33590
  • AotTestExecutionListener should not be invoked for a @DisabledInAotMode test class #​33589
  • Use encoded resource path instead of input path validation in spring-webflux #​33568
  • org.springframework.util.ResourceUtils#toRelativeURL drops custom URLStreamHandler #​33561
  • Current observation not in scope during WebClient ExchangeFilterFunction execution #​33559
  • ZoneIdEditor throws wrong exception type for TypeConverterSupport #​33545
  • MimeMessageHelper addInline with ByteArrayResource fail with null filename #​33527
  • @Cacheable throws NullPointerException when RuntimeException is thrown inside annotated code #​33492
  • Path variable values missing in RedirectView when PathPattern are used #​33422
  • Reactive HttpComponentsClientHttpResponse ignores Expires cookie attribute #​33157

📔 Documentation

  • Update fallback.adoc #​33721
  • Update scheduling.adoc #​33703
  • Fix link in testing/support-jdbc.adoc #​33686
  • Adapt Javadoc note about log level of BeanPostProcessorChecker #​33617
  • Reference the spring-framework-petclinic repository wich uses AspectJ #​33539

🔨 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.13

⭐ New Features

  • Errors thrown from SmartLifeycle#stop results in (unnecessary) waiting for the shutdown timeout #​33442
  • Updates to resource handling for functional endpoints #​33434
  • Stop logging result in WebAsyncManager #​33406
  • spring native not support method handler with kotlin default value #​33384

🐞 Bug Fixes

  • BindingReflectionHintsRegistrar do not take into account the boxed type Boolean #​33380
  • Ensure use of specified status code on redirect with Rendering #​33498
  • Inconsistent handling of X-Forwarded-Prefix in servlet and reactive stack #​33465
  • ServerHttpObservationFilter does not register against new async operations #​33451
  • Revert removal of deprecated rawStatusCode methods #​33440
  • PathMatchingResourcePatternResolver no longer follows symlinks #​33424
  • Deadlock between SseEmitter and StandardServletAsyncWebRequest when clients disconnect #​33421
  • RestClient doesn't open a scope for the processing of the request #​33397
  • WebTestClient leaks when ParameterizedTypeReference is used #​33389

📔 Documentation

  • Document fixed rate scheduling with CRaC #​33490
  • Update information in SpEL Evaluation chapter in reference manual #​33456
  • Stop documenting use of -debug compiler flag in reference manual #​33453
  • Use discrete headings instead of titled blocks in reference manual #​33447
  • Fix example for @ImportResource in the reference manual #​33446
  • Fix a typo in the CDS documentation #​33437
  • Fix link to chapter introduction #​33417
  • Improve documentation on reading form data via Servlet request parameters vs @RequestBody #​33409

🔨 Dependency Upgrades

❤️ Contributors

Thank you to all the contributors who worked on this release:

@​dancer1325, @​izeye, and @​yfoel

v6.1.12

⭐ New Features

  • Efficient handling of conditional HTTP requests #​33372
  • LocaleEditor cannot parse language tag with script like zh-Hans #​33348
  • Reinstate qualifier support for legacy JSR-330 @javax.inject.Named annotation #​33345
  • SimpleAsyncTaskScheduler stops accepting new tasks when isShutdown #​33336

🐞 Bug Fixes

  • Fix incorrect weak ETag validation #​33374
  • Avoid CacheAspectSupport#findInCaches falling through to the reactiveCachingHandler #​33371
  • ScheduledAnnotationReactiveSupport starts the observation before it is opened #​33349
  • RestClient observation flags error for UnknownContentTypeException twice #​33347
  • RestClient instrumentation unnecessarily calls stop on a closed observation #​33346
  • SimpleEvaluationContext does not enforce read-only semantics #​33319
  • SpEL wraps primitive array in Object[] when invoking varargs method #​33317
  • SpEL no longer supports lists for varargs invocations #​33315
  • SpEL Indexer silently ignores failure to set property as index #​33310
  • AOT-generated code produces deprecation warnings when using a deprecated class for autowiring #​33295
  • @Scheduled method in test class not supported anymore #​33286
  • AOT-generated code produces deprecation warnings when referencing a nested class of a deprecated class #​33273
  • Jaxb2XmlEncoder does not support JAXBElement subtypes #​33258
  • ShallowEtagHeaderFilter throws a NumberFormatException for responses bigger than 2Gb #​33256
  • RequestPredicates fail with UnsupportedOperationException with a custom servlet path #​33251
  • Missing observation for @JmsListener response messages #​33221
  • ConversionService cannot convert primitive array to Object[] #​33212
  • Spring coroutines AOP is not compatible with @Cacheable #​33210
  • PathMatchingResourcePatternResolver#convertClassLoaderURL drops URLStreamHandler in version 6.1.x #​33199
  • SpEL cannot invoke varargs MethodHandle function with a primitive array #​33198
  • Trim last allowed origin when parsing comma-delimited string #​33181
  • Multipart files not deleted after upload is finished with async request #​33161
  • JaxbContextContainer does not define the ClassLoader to use to retrieve the JAXBContext to use #​33158
  • Memory Leak in WebFlux application handling HTTP Multipart #​33094
  • Support invoking bridged suspending functions in AopUtils #​33045

📔 Documentation

  • Fix typo in the bean validation section of the reference manual #​33354
  • Fix syntax error in RestClient documentation #​33350
  • Add Kotlin example for expectAll() #​33341
  • Javadoc of ReactorResourceFactory#setConnectionProviderSupplier wrongly states it can be ignored #​33338
  • Improve EnableCaching & CachingConfigurer Javadoc #​33288
  • Code sample has wrong reference to configurePathMatching #​33277
  • Document that NoOpResponseErrorHandler is to be used with the RestTemplate #​33276
  • Stop referring to Oracle STRUCT and ARRAY as they are deprecated #​33248
  • Update links in reference manual #​33245

🔨 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.11

⭐ New Features

  • Ensure varargs component type for MethodHandle is not null in SpEL's ReflectionHelper #​33193
  • Confusing WebClient exception message in case of Reactor-Netty PrematureCloseException during response #​33127
  • Include the bean name in the exception when an invalid factoryBeanObjectType attribute is found #​33117
  • Use error handler for reactive cache aspect #​33073
  • getTypeForFactoryMethod should catch NoClassDefFoundError #​33075

🐞 Bug Fixes

  • SpEL cannot invoke varargs MethodHandle function with an array #​33191
  • SpEL cannot invoke varargs MethodHandle function with zero variable arguments #​33190
  • Nested bean instance supplier invocation does not retain previous factory method #​33180
  • DefaultErrorResponseBuilder does not implement headers(Consumer) #​33156
  • Fix adaptation of violations on Set method parameter #​33150
  • Web controller call with invalid body resulting in 500 instead of 400 when using kotlinx-serialization #​33138
  • "file:." cannot be resolved to java.nio.file.Path (and plain "." value resolves to classpath root) #​33124
  • Mockito mock falsely initialized as CGLIB proxy with AspectJ aspect #​33113
  • Fix ClassCastException from return value validation with proxy when adaptConstraintViolations=true #​33105
  • Spring coroutines AOP is not compatible with @Transactional #​33095
  • ReactorClientHttpConnector creates new HttpClient for every request #​33093
  • Trace and Span IDs are no longer propagated RequestBodyAdvice beans #​33091
  • Early LocalContainerEntityManagerFactoryBean initialization fails in case of null bean definition #​33082
  • ReactorNettyClientRequest.convertException should include original exception if cause is null #​33080
  • SpEL incorrectly splits string arguments by comma for Object... varargs method #​33013
  • ProtobufMessageConverter fails to parse JSON payload if byte array is used #​27408

📔 Documentation

  • Harmonize phrasing in URI Encoding section #​33166
  • Document that ModelMap is not a supported argument type in WebFlux #​33107
  • Example in Method Injection section of Spring Framework documentation refers to wrong bean names #​33096
  • Resource writer doesn't consider subclasses of InputStreamResource for content length bypass #​33089
  • Improve documentation regarding encoding in FreeMarker support #​33071
  • Exception for validation failure in WebFlux does not match the documentation #​33061

🔨 Dependency Upgrades

❤️ Contributors

Thank you to all the contributors who worked on this release:

@​TAKETODAY, @​hunhee98, @​imvtsl, @​snussbaumer, and @​zizare


Configuration

📅 Schedule: Branch creation - "" in timezone Etc/UTC, Automerge - "after 8am and before 4pm on tuesday" in timezone Etc/UTC.

🚦 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant