Skip to content

[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
snyk-fix-5b1b0fc5faa82628554b71927055c923
Open

[Snyk] Security upgrade org.springframework.cloud:spring-cloud-function-adapter-gcp from 3.1.0-SNAPSHOT to 3.2.8#111
dinmiranda wants to merge 104 commits intomasterfrom
snyk-fix-5b1b0fc5faa82628554b71927055c923

Conversation

@dinmiranda
Copy link
Copy Markdown
Owner

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

  • Changes to the following files to upgrade the vulnerable dependencies to a fixed version:
    • spring-cloud-function-samples/function-sample-gcp-http/pom.xml

Vulnerabilities that will be fixed

With an upgrade:
Severity Priority Score (*) Issue Upgrade Breaking Change Exploit Maturity
medium severity 616/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 5.9
Denial of Service (DoS)
SNYK-JAVA-COMFASTERXMLJACKSONCORE-3038424
org.springframework.cloud:spring-cloud-function-adapter-gcp:
3.1.0-SNAPSHOT -> 3.2.8
No Proof of Concept
medium severity 616/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 5.9
Denial of Service (DoS)
SNYK-JAVA-COMFASTERXMLJACKSONCORE-3038426
org.springframework.cloud:spring-cloud-function-adapter-gcp:
3.1.0-SNAPSHOT -> 3.2.8
No Proof of Concept

(*) 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)

olegz and others added 30 commits May 27, 2020 13:51
…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
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
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
olegz and others added 29 commits August 28, 2020 16:47
…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>
…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
The root of the issue was in implementation of  equals() and hashCode() of FunctionInvocationWrapper

Resolves spring-cloud#578
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.