[Snyk] Security upgrade org.springframework.cloud:spring-cloud-function-adapter-gcp from 3.1.0-SNAPSHOT to 3.2.8#111
Open
dinmiranda wants to merge 104 commits intomasterfrom
Open
Conversation
…of incoming APIGateway request to user FunctionInvoker This assumes that - 'body' will be extracted for cases such as POJO or String input - Map input will simply represent the incoming request - APIGatewayProxyRequestEvent input represents native representation of API Gateway request Similar fixes went for Kinesis side of things Added additional tests for both Kinesis and ApiGateway
spring-cloud-function-context spring-cloud-function-context: fix spring-cloud-function-web spring-cloud-function-adapters spring-cloud-function-samples spring-cloud-function-deployer; spring-cloud-function-kotlin Resolves spring-cloud#535
Given that we now can auto-discover function type from provided target object, this fix will fail function registration if provided type is not compatible (assignableFrom. . .) Resolves spring-cloud#531
This ensures that posting to the consumer does not result in NPE given that there is no body Resolves spring-cloud#500
This fix insures that 'spring.http.converters.preferred-json-mapper' property is only used as mechanism to break tie in the event both jackson and gson are available in classpath or AC Resolves spring-cloud#537
…gger Improve FunctionRegistry Logger
Improve language and typos
FunctionTypeUtils#isTypeCollection: unwrap publisher JsonMessageConverter: handler for a ParameterizedType conversionHint refactor
Add author tag Rename 'getPayloadType' method to 'getGenericType' and ad javadoc Resolves spring-cloud#543
Fix tests
Polish some of the POMs to address missing dependencies Temporary disconnect gcp background sample until errors are fixed
…d subtype Add special handling for wild-card content type and subtype to NegotiatingMessageConverterWrapper Add author tags Resolves spring-cloud#557
…itializer Resolves spring-cloud#554
…nable-routingbrokertests Re-enables RoutingBrokerTests
Added support to JsonMessageConverter to pass string as is if input type is String Added guard condition to RSocketListenerFunction to avoid NPE if target function can not be discovered
…ting-tcp Updates to new routing client broker tcp properties
…aders This woudl allow Message headers to be passed as JSON string via rsocket metadata Resolves spring-cloud#585
* Fix test `FunctionSampleSpringIntegrationApplicationTests` to use AssertJ
Resolves spring-cloud#577 Co-authored-by: Mike Eltsufin <meltsufin@google.com>
Add and clean up tests
…r simple types This fix also introduces new Function property 'accept' with no default value which implicitely would default to application/json unless the output type of the function is String at which point it would default to text/plain. However, if it was explicitely set in FunctionProperties it will be used regardless of the function output type. Resolves spring-cloud#587
This addresses the issue of dropped Message headers in the event where input is a Message but input conversion is not necessary while Message contains headers that require explicit propagation (e.g., scf-sink-url, scf-func-name) Resolves spring-cloud#588
Resolves spring-cloud#589
The root of the issue was in implementation of equals() and hashCode() of FunctionInvocationWrapper Resolves spring-cloud#578
This reverts commit c3d6b48.
…o reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JAVA-COMFASTERXMLJACKSONCORE-3038424 - https://snyk.io/vuln/SNYK-JAVA-COMFASTERXMLJACKSONCORE-3038426
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 was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to fix one or more vulnerable packages in the `maven` dependencies of this project.
Changes included in this PR
Vulnerabilities that will be fixed
With an upgrade:
Why? Proof of Concept exploit, Has a fix available, CVSS 5.9
SNYK-JAVA-COMFASTERXMLJACKSONCORE-3038424
org.springframework.cloud:spring-cloud-function-adapter-gcp:3.1.0-SNAPSHOT -> 3.2.8Why? Proof of Concept exploit, Has a fix available, CVSS 5.9
SNYK-JAVA-COMFASTERXMLJACKSONCORE-3038426
org.springframework.cloud:spring-cloud-function-adapter-gcp:3.1.0-SNAPSHOT -> 3.2.8(*) Note that the real score may have changed since the PR was raised.
Check the changes in this PR to ensure they won't cause issues with your project.
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic
Learn how to fix vulnerabilities with free interactive lessons:
🦉 Denial of Service (DoS)
🦉 Denial of Service (DoS)