geonetwork / geonetwork-microservices

GNU General Public License v2.0
13 stars 17 forks source link

[Snyk] Fix for 7 vulnerabilities #97

Open jahow opened 9 months ago

jahow commented 9 months ago

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: - pom.xml #### Vulnerabilities that will be fixed ##### With an upgrade: Severity | Priority Score (*) | Issue | Upgrade | Breaking Change | Exploit Maturity | Reachability :-------------------------:|-------------------------|:-------------------------|:-------------------------|:-------------------------|:-------------------------|:------------------------- ![low severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/l.png "low severity") | **315/1000**
**Why?** Has a fix available, CVSS 3.3 | Creation of Temporary File in Directory with Insecure Permissions
[SNYK-JAVA-COMGOOGLEGUAVA-5710356](https://snyk.io/vuln/SNYK-JAVA-COMGOOGLEGUAVA-5710356) | | Yes | No Known Exploit | No Path Found ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity") | **600/1000**
**Why?** Proof of Concept exploit, Has a fix available, CVSS 7.5 | Denial of Service (DoS)
[SNYK-JAVA-NETMINIDEV-3369748](https://snyk.io/vuln/SNYK-JAVA-NETMINIDEV-3369748) | | No | Proof of Concept | No Path Found ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **520/1000**
**Why?** Proof of Concept exploit, Has a fix available, CVSS 5.9 | Denial of Service (DoS)
[SNYK-JAVA-ORGCODEHAUSJACKSON-3038425](https://snyk.io/vuln/SNYK-JAVA-ORGCODEHAUSJACKSON-3038425) | `org.springframework.security.oauth:spring-security-oauth2:`
`2.3.8.RELEASE -> 2.4.0.RELEASE`
| No | Proof of Concept | No Path Found ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **520/1000**
**Why?** Proof of Concept exploit, Has a fix available, CVSS 5.9 | Denial of Service (DoS)
[SNYK-JAVA-ORGCODEHAUSJACKSON-3038427](https://snyk.io/vuln/SNYK-JAVA-ORGCODEHAUSJACKSON-3038427) | `org.springframework.security.oauth:spring-security-oauth2:`
`2.3.8.RELEASE -> 2.4.0.RELEASE`
| No | Proof of Concept | No Path Found ![critical severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/c.png "critical severity") | **640/1000**
**Why?** Has a fix available, CVSS 9.8 | Improper Input Validation
[SNYK-JAVA-ORGCODEHAUSJACKSON-3326362](https://snyk.io/vuln/SNYK-JAVA-ORGCODEHAUSJACKSON-3326362) | `org.springframework.security.oauth:spring-security-oauth2:`
`2.3.8.RELEASE -> 2.4.0.RELEASE`
| No | No Known Exploit | No Path Found ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity") | **525/1000**
**Why?** Has a fix available, CVSS 7.5 | XML External Entity (XXE) Injection
[SNYK-JAVA-ORGCODEHAUSJACKSON-534878](https://snyk.io/vuln/SNYK-JAVA-ORGCODEHAUSJACKSON-534878) | `org.springframework.security.oauth:spring-security-oauth2:`
`2.3.8.RELEASE -> 2.4.0.RELEASE`
| No | No Known Exploit | No Path Found ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity") | **525/1000**
**Why?** Has a fix available, CVSS 7.5 | Denial of Service (DoS)
[SNYK-JAVA-ORGSPRINGFRAMEWORKBOOT-5564390](https://snyk.io/vuln/SNYK-JAVA-ORGSPRINGFRAMEWORKBOOT-5564390) | | Yes | No Known Exploit | No Path Found (*) Note that the real score may have changed since the PR was raised. #### Vulnerabilities that could not be fixed - Upgrade: - Could not upgrade `org.springframework.boot:spring-boot-starter-oauth2-resource-server@2.3.8.RELEASE` to `org.springframework.boot:spring-boot-starter-oauth2-resource-server@2.4.0`; Reason `could not apply upgrade, dependency is managed externally` ; Location: `https://maven-central.storage-download.googleapis.com/maven2/org/springframework/boot/spring-boot-dependencies/2.3.8.RELEASE/spring-boot-dependencies-2.3.8.RELEASE.pom` - Could not upgrade `org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@2.2.5.RELEASE` to `org.springframework.cloud:spring-cloud-starter-netflix-eureka-client@4.0.0`; Reason `could not apply upgrade, dependency is managed externally` ; Location: `provenance does not contain location` 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](https://app.snyk.io/org/camptocamp/project/8621d69c-6069-4901-bdd0-ae9e80e27163?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/camptocamp/project/8621d69c-6069-4901-bdd0-ae9e80e27163?utm_source=github&utm_medium=referral&page=fix-pr/settings) 📚 [Read more about Snyk's upgrade and patch logic](https://support.snyk.io/hc/en-us/articles/360003891078-Snyk-patches-to-fix-vulnerabilities) [//]: # (snyk:metadata:{"prId":"069691f8-0337-4a1c-b0be-de90debbe87f","prPublicId":"069691f8-0337-4a1c-b0be-de90debbe87f","dependencies":[{"name":"org.springframework.boot:spring-boot-starter-oauth2-resource-server","from":"2.3.8.RELEASE","to":"2.4.0"},{"name":"org.springframework.cloud:spring-cloud-starter-netflix-eureka-client","from":"2.2.5.RELEASE","to":"4.0.0"},{"name":"org.springframework.security.oauth:spring-security-oauth2","from":"2.3.8.RELEASE","to":"2.4.0.RELEASE"}],"packageManager":"maven","projectPublicId":"8621d69c-6069-4901-bdd0-ae9e80e27163","projectUrl":"https://app.snyk.io/org/camptocamp/project/8621d69c-6069-4901-bdd0-ae9e80e27163?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-JAVA-COMGOOGLEGUAVA-5710356","SNYK-JAVA-NETMINIDEV-3369748","SNYK-JAVA-ORGCODEHAUSJACKSON-3038425","SNYK-JAVA-ORGCODEHAUSJACKSON-3038427","SNYK-JAVA-ORGCODEHAUSJACKSON-3326362","SNYK-JAVA-ORGCODEHAUSJACKSON-534878","SNYK-JAVA-ORGSPRINGFRAMEWORKBOOT-5564390"],"upgrade":["SNYK-JAVA-COMGOOGLEGUAVA-5710356","SNYK-JAVA-NETMINIDEV-3369748","SNYK-JAVA-ORGCODEHAUSJACKSON-3038425","SNYK-JAVA-ORGCODEHAUSJACKSON-3038427","SNYK-JAVA-ORGCODEHAUSJACKSON-3326362","SNYK-JAVA-ORGCODEHAUSJACKSON-534878","SNYK-JAVA-ORGSPRINGFRAMEWORKBOOT-5564390"],"isBreakingChange":true,"env":"prod","prType":"fix","templateVariants":["priorityScore"],"priorityScoreList":[315,600,520,520,640,525,525],"remediationStrategy":"vuln"}) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Creation of Temporary File in Directory with Insecure Permissions](https://learn.snyk.io/lesson/insecure-temporary-file/?loc=fix-pr) 🦉 [Denial of Service (DoS)](https://learn.snyk.io/lesson/redos/?loc=fix-pr) 🦉 [Improper Input Validation](https://learn.snyk.io/lesson/insecure-deserialization/?loc=fix-pr) 🦉 [More lessons are available in Snyk Learn](https://learn.snyk.io/?loc=fix-pr)
sonarcloud[bot] commented 9 months ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication