payara / Payara-Examples

Repository for Example Code to demonstrate Payara specific features
144 stars 177 forks source link

[Snyk] Fix for 5 vulnerabilities #174

Open jGauravGupta opened 1 year ago

jGauravGupta commented 1 year 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: - javaee/hibernate-example/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") | **726/1000**
**Why?** Proof of Concept exploit, Has a fix available, CVSS 8.1 | Remote Code Execution (RCE)
[SNYK-JAVA-COMH2DATABASE-2331071](https://snyk.io/vuln/SNYK-JAVA-COMH2DATABASE-2331071) | `com.h2database:h2:`
`1.4.192 -> 2.1.210`
| Yes | Proof of Concept ![critical severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/c.png "critical severity") | **811/1000**
**Why?** Proof of Concept exploit, Has a fix available, CVSS 9.8 | Remote Code Execution (RCE)
[SNYK-JAVA-COMH2DATABASE-2348247](https://snyk.io/vuln/SNYK-JAVA-COMH2DATABASE-2348247) | `com.h2database:h2:`
`1.4.192 -> 2.1.210`
| Yes | Proof of Concept ![low severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/l.png "low severity") | **324/1000**
**Why?** Has a fix available, CVSS 2.2 | Insecure Permissions
[SNYK-JAVA-COMH2DATABASE-3009896](https://snyk.io/vuln/SNYK-JAVA-COMH2DATABASE-3009896) | `com.h2database:h2:`
`1.4.192 -> 2.1.210`
| No | No Known Exploit ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity") | **635/1000**
**Why?** Has a fix available, CVSS 8.2 | SQL Injection
[SNYK-JAVA-ORGHIBERNATE-1041788](https://snyk.io/vuln/SNYK-JAVA-ORGHIBERNATE-1041788) | `org.hibernate:hibernate-entitymanager:`
`5.2.10.Final -> 5.4.24.Final`
| No | No Known Exploit ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity") | **619/1000**
**Why?** Has a fix available, CVSS 8.1 | SQL Injection
[SNYK-JAVA-ORGHIBERNATE-584563](https://snyk.io/vuln/SNYK-JAVA-ORGHIBERNATE-584563) | `org.hibernate:hibernate-entitymanager:`
`5.2.10.Final -> 5.4.24.Final`
| 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/payara-ci/project/12c3c28a-cc44-4321-8cd4-736b3aad9346?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/payara-ci/project/12c3c28a-cc44-4321-8cd4-736b3aad9346?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":"aacc4c5f-f53a-461c-81a3-0895cde2d59f","prPublicId":"aacc4c5f-f53a-461c-81a3-0895cde2d59f","dependencies":[{"name":"com.h2database:h2","from":"1.4.192","to":"2.1.210"},{"name":"org.hibernate:hibernate-entitymanager","from":"5.2.10.Final","to":"5.4.24.Final"}],"packageManager":"maven","projectPublicId":"12c3c28a-cc44-4321-8cd4-736b3aad9346","projectUrl":"https://app.snyk.io/org/payara-ci/project/12c3c28a-cc44-4321-8cd4-736b3aad9346?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-JAVA-ORGHIBERNATE-584563","SNYK-JAVA-ORGHIBERNATE-1041788","SNYK-JAVA-COMH2DATABASE-3009896","SNYK-JAVA-COMH2DATABASE-2348247","SNYK-JAVA-COMH2DATABASE-2331071"],"upgrade":["SNYK-JAVA-COMH2DATABASE-2331071","SNYK-JAVA-COMH2DATABASE-2348247","SNYK-JAVA-COMH2DATABASE-3009896","SNYK-JAVA-ORGHIBERNATE-1041788","SNYK-JAVA-ORGHIBERNATE-584563"],"isBreakingChange":true,"env":"prod","prType":"fix","templateVariants":["priorityScore"],"priorityScoreList":[619,635,324,811,726]}) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [SQL Injection](https://learn.snyk.io/lessons/sql-injection/java/?loc=fix-pr) 🦉 [SQL Injection](https://learn.snyk.io/lessons/sql-injection/java/?loc=fix-pr) 🦉 [Remote Code Execution (RCE)](https://learn.snyk.io/lessons/spring4shell/java/?loc=fix-pr) 🦉 [More lessons are available in Snyk Learn](https://learn.snyk.io?loc=fix-pr)