From 7f054b376bd7ec826b7906b21dac3194f5c497ca Mon Sep 17 00:00:00 2001 From: "snyk-io[bot]" <141718529+snyk-io[bot]@users.noreply.github.com> Date: Thu, 22 Aug 2024 13:32:27 -0700 Subject: [PATCH] security: [Snyk] Fix for 2 vulnerabilities (#52) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123) ### Snyk has created this PR to fix 1 vulnerabilities in the maven dependencies of this project. #### Snyk changed the following file(s): - `pom.xml` #### Vulnerabilities that will be fixed with an upgrade: | | Issue | Score | Upgrade :-------------------------:|:-------------------------|:-------------------------|:------------------------- ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png 'high severity') | Denial of Service (DoS)
[SNYK-JAVA-COMFASTERXMLJACKSONCORE-7569538](https://snyk.io/vuln/SNYK-JAVA-COMFASTERXMLJACKSONCORE-7569538) |   **125**   | com.fasterxml.jackson.core:jackson-core:
`2.14.2` -> `2.15.0`
com.fasterxml.jackson.core:jackson-databind:
`2.14.2` -> `2.15.0`
`No Path Found` `No Known Exploit` --- > [!IMPORTANT] > > - Check the changes in this PR to ensure they won't cause issues with your project. > - Max score is 1000. Note that the real score may have changed since the PR was raised. > - This PR was automatically created by Snyk using the credentials of a real user. --- **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/devops-secrets-vault/project/d326eabd-a8ba-47e4-9791-0b21ce0960de?utm_source=github-cloud-app&utm_medium=referral&page=fix-pr) 📜 [Customise PR templates](https://docs.snyk.io/scan-using-snyk/pull-requests/snyk-fix-pull-or-merge-requests/customize-pr-templates) 🛠 [Adjust project settings](https://app.snyk.io/org/devops-secrets-vault/project/d326eabd-a8ba-47e4-9791-0b21ce0960de?utm_source=github-cloud-app&utm_medium=referral&page=fix-pr/settings) 📚 [Read about Snyk's upgrade logic](https://support.snyk.io/hc/en-us/articles/360003891078-Snyk-patches-to-fix-vulnerabilities) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Denial of Service (DoS)](https://learn.snyk.io/lesson/redos/?loc=fix-pr) [//]: # 'snyk:metadata:{"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"com.fasterxml.jackson.core:jackson-core","from":"2.14.2","to":"2.15.0"},{"name":"com.fasterxml.jackson.core:jackson-databind","from":"2.14.2","to":"2.15.0"}],"env":"prod","issuesToFix":[{"exploit_maturity":"No Known Exploit","id":"SNYK-JAVA-COMFASTERXMLJACKSONCORE-7569538","priority_score":125,"priority_score_factors":[{"name":"confidentiality","value":"none"},{"name":"integrity","value":"none"},{"name":"availability","value":"high"},{"name":"scope","value":"unchanged"},{"name":"exploitCodeMaturity"},{"name":"userInteraction","value":"none"},{"name":"privilegesRequired","value":"none"},{"name":"attackComplexity","value":"low"},{"name":"attackVector","value":"network"},{"name":"epss","value":0.01055},{"name":"isTrending","value":false},{"name":"publicationDate","value":"Fri Jul 26 2024 13:54:42 GMT+0000 (Coordinated Universal Time)"},{"name":"isReachable","value":false},{"name":"isTransitive","value":true},{"name":"isMalicious","value":false},{"name":"businessCriticality","value":"high"},{"name":"relativeImportance","value":"high"},{"name":"relativePopularityRank","value":99},{"name":"impact","value":5.99},{"name":"likelihood","value":2.08},{"name":"scoreVersion","value":"V5"}],"severity":"high","title":"Denial of Service (DoS)"},{"exploit_maturity":"No Known Exploit","id":"SNYK-JAVA-COMFASTERXMLJACKSONCORE-7569538","priority_score":125,"priority_score_factors":[{"name":"confidentiality","value":"none"},{"name":"integrity","value":"none"},{"name":"availability","value":"high"},{"name":"scope","value":"unchanged"},{"name":"exploitCodeMaturity"},{"name":"userInteraction","value":"none"},{"name":"privilegesRequired","value":"none"},{"name":"attackComplexity","value":"low"},{"name":"attackVector","value":"network"},{"name":"epss","value":0.01055},{"name":"isTrending","value":false},{"name":"publicationDate","value":"Fri Jul 26 2024 13:54:42 GMT+0000 (Coordinated Universal Time)"},{"name":"isReachable","value":false},{"name":"isTransitive","value":true},{"name":"isMalicious","value":false},{"name":"businessCriticality","value":"high"},{"name":"relativeImportance","value":"high"},{"name":"relativePopularityRank","value":99},{"name":"impact","value":5.99},{"name":"likelihood","value":2.08},{"name":"scoreVersion","value":"V5"}],"severity":"high","title":"Denial of Service (DoS)"}],"prId":"4b00e99e-3628-4460-8710-1cc2e559e70a","prPublicId":"4b00e99e-3628-4460-8710-1cc2e559e70a","packageManager":"maven","priorityScoreList":[125],"projectPublicId":"d326eabd-a8ba-47e4-9791-0b21ce0960de","projectUrl":"https://app.snyk.io/org/devops-secrets-vault/project/d326eabd-a8ba-47e4-9791-0b21ce0960de?utm_source=github-cloud-app&utm_medium=referral&page=fix-pr","prType":"fix","templateFieldSources":{"branchName":"default","commitMessage":"default","description":"default","title":"default"},"templateVariants":["priorityScore"],"type":"auto","upgrade":["SNYK-JAVA-COMFASTERXMLJACKSONCORE-7569538"],"vulns":["SNYK-JAVA-COMFASTERXMLJACKSONCORE-7569538"],"patch":[],"isBreakingChange":false,"remediationStrategy":"vuln"}' --------- Co-authored-by: snyk-io[bot] <141718529+snyk-io[bot]@users.noreply.github.com> Co-authored-by: Bill Hamilton Co-authored-by: Bill Hamilton --- .gitignore | 2 ++ .trunk/trunk.yaml | 3 ++- pom.xml | 16 +++++----------- 3 files changed, 9 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index 23b56ad..4eb1aa3 100644 --- a/.gitignore +++ b/.gitignore @@ -83,4 +83,6 @@ buildNumber.properties # Ignore all local history of files .history +### mac +.DS_Store # End of https://www.gitignore.io/api/java,maven,visualstudiocode diff --git a/.trunk/trunk.yaml b/.trunk/trunk.yaml index 1243a67..ee8944d 100644 --- a/.trunk/trunk.yaml +++ b/.trunk/trunk.yaml @@ -7,8 +7,9 @@ plugins: ref: v0.0.5 uri: https://github.com/trunk-io/plugins lint: + disabled: + - semgrep enabled: - - semgrep@0.118.0 - shellcheck@0.8.0 - shfmt@3.5.0 - yamllint@1.28.0 diff --git a/pom.xml b/pom.xml index 029a6c2..396b857 100644 --- a/pom.xml +++ b/pom.xml @@ -1,4 +1,4 @@ - + 4.0.0 @@ -6,8 +6,8 @@ org.springframework.boot spring-boot-starter-parent - 2.7.12 - + 3.2.3 + @@ -51,8 +51,8 @@ 8 - 2.14.2 - 6.0.19 + 2.15.0 + 6.0.23 6.55.0 @@ -92,12 +92,6 @@ ${jackson.version} - - org.slf4j - slf4j-api - 1.7.30 - - com.squareup.okhttp3 okhttp