snowflakedb / snowflake-ingest-java

Java SDK for the Snowflake Ingest Service -
http://www.snowflake.net
Apache License 2.0
67 stars 52 forks source link

[Snyk] SNOW-1327598: Fix for 3 vulnerabilities #734

Closed sfc-gh-snowflakedb-snyk-sa closed 4 months ago

sfc-gh-snowflakedb-snyk-sa commented 4 months ago

SNOW-1327598

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 :-------------------------:|-------------------------|:-------------------------|:-------------------------|:-------------------------|:------------------------- ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity") | **768/1000**
**Why?** Proof of Concept exploit, Recently disclosed, Has a fix available, CVSS 7.5 | Infinite loop
[SNYK-JAVA-ORGBOUNCYCASTLE-6612984](https://snyk.io/vuln/SNYK-JAVA-ORGBOUNCYCASTLE-6612984) | `org.bouncycastle:bcpkix-jdk18on:`
`1.77 -> 1.78`
`org.bouncycastle:bcprov-jdk18on:`
`1.77 -> 1.78`
| No | Proof of Concept ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **688/1000**
**Why?** Proof of Concept exploit, Recently disclosed, Has a fix available, CVSS 5.9 | Observable Discrepancy
[SNYK-JAVA-ORGBOUNCYCASTLE-6613076](https://snyk.io/vuln/SNYK-JAVA-ORGBOUNCYCASTLE-6613076) | `org.bouncycastle:bcpkix-jdk18on:`
`1.77 -> 1.78`
`org.bouncycastle:bcprov-jdk18on:`
`1.77 -> 1.78`
| No | Proof of Concept ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **551/1000**
**Why?** Recently disclosed, Has a fix available, CVSS 5.3 | Allocation of Resources Without Limits or Throttling
[SNYK-JAVA-ORGBOUNCYCASTLE-6613079](https://snyk.io/vuln/SNYK-JAVA-ORGBOUNCYCASTLE-6613079) | `org.bouncycastle:bcpkix-jdk18on:`
`1.77 -> 1.78`
`org.bouncycastle:bcprov-jdk18on:`
`1.77 -> 1.78`
| No | No Known Exploit (*) 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](https://app.snyk.io/org/snowflakedb-sca-scanning-public-repo/project/decdb8fe-6a6d-465d-9e89-84aa34efb781?utm_source=github-enterprise&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/snowflakedb-sca-scanning-public-repo/project/decdb8fe-6a6d-465d-9e89-84aa34efb781?utm_source=github-enterprise&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":"1d3f2170-d2aa-48ff-b29b-b9899a45fc3d","prPublicId":"1d3f2170-d2aa-48ff-b29b-b9899a45fc3d","dependencies":[{"name":"org.bouncycastle:bcpkix-jdk18on","from":"1.77","to":"1.78"},{"name":"org.bouncycastle:bcprov-jdk18on","from":"1.77","to":"1.78"}],"packageManager":"maven","projectPublicId":"decdb8fe-6a6d-465d-9e89-84aa34efb781","projectUrl":"https://app.snyk.io/org/snowflakedb-sca-scanning-public-repo/project/decdb8fe-6a6d-465d-9e89-84aa34efb781?utm_source=github-enterprise&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-JAVA-ORGBOUNCYCASTLE-6612984","SNYK-JAVA-ORGBOUNCYCASTLE-6613076","SNYK-JAVA-ORGBOUNCYCASTLE-6613079"],"upgrade":["SNYK-JAVA-ORGBOUNCYCASTLE-6612984","SNYK-JAVA-ORGBOUNCYCASTLE-6613076","SNYK-JAVA-ORGBOUNCYCASTLE-6613079"],"isBreakingChange":false,"env":"prod","prType":"fix","templateVariants":["priorityScore"],"priorityScoreList":[768,688,551],"remediationStrategy":"vuln"}) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Allocation of Resources Without Limits or Throttling](https://learn.snyk.io/lesson/no-rate-limiting/?loc=fix-pr) [SNOW-1327598]: https://snowflakecomputing.atlassian.net/browse/SNOW-1327598?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
sfc-gh-azagrebin commented 4 months ago

The build was failing because it seems that the new bouncycastle version was built by java 21 and our current maven shading plugin version breaks with it.