geonetwork / geonetwork-microservices

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

[Snyk] Fix for 2 vulnerabilities #104

Open jahow opened 8 months ago

jahow commented 8 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 :-------------------------:|-------------------------|:-------------------------|:-------------------------|:-------------------------|:-------------------------|:------------------------- ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **525/1000**
**Why?** Recently disclosed, Has a fix available, CVSS 6.5 | Improper Handling of Exceptional Conditions
[SNYK-JAVA-ORGELASTICSEARCH-6083305](https://snyk.io/vuln/SNYK-JAVA-ORGELASTICSEARCH-6083305) | `org.elasticsearch:elasticsearch:`
`7.15.1 -> 7.17.14`
| No | No Known Exploit | No Path Found ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **555/1000**
**Why?** Proof of Concept exploit, Has a fix available, CVSS 6.6 | Arbitrary Code Execution
[SNYK-JAVA-ORGYAML-3152153](https://snyk.io/vuln/SNYK-JAVA-ORGYAML-3152153) | | No | Proof of Concept | 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-web@2.3.8.RELEASE` to `org.springframework.boot:spring-boot-starter-web@2.7.18`; 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` 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/1654f166-d69f-4e27-84e6-f47b5139ebfc?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/camptocamp/project/1654f166-d69f-4e27-84e6-f47b5139ebfc?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":"f7b7b952-b03a-40c9-924e-41ed6db7f501","prPublicId":"f7b7b952-b03a-40c9-924e-41ed6db7f501","dependencies":[{"name":"org.elasticsearch:elasticsearch","from":"7.15.1","to":"7.17.14"},{"name":"org.springframework.boot:spring-boot-starter-web","from":"2.3.8.RELEASE","to":"2.7.18"}],"packageManager":"maven","projectPublicId":"1654f166-d69f-4e27-84e6-f47b5139ebfc","projectUrl":"https://app.snyk.io/org/camptocamp/project/1654f166-d69f-4e27-84e6-f47b5139ebfc?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-JAVA-ORGELASTICSEARCH-6083305","SNYK-JAVA-ORGYAML-3152153"],"upgrade":["SNYK-JAVA-ORGELASTICSEARCH-6083305","SNYK-JAVA-ORGYAML-3152153"],"isBreakingChange":false,"env":"prod","prType":"fix","templateVariants":["priorityScore"],"priorityScoreList":[525,555],"remediationStrategy":"vuln"}) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Arbitrary Code Execution](https://learn.snyk.io/lesson/improper-input-validation/?loc=fix-pr)
sonarcloud[bot] commented 8 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