Skip to content

Commit da1ef7a

Browse files
[Snyk] Security upgrade openjdk from 8-jre-slim to 24-ea-20-jdk-oraclelinux8 (#58)
![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123) ### Snyk has created this PR to fix 2 vulnerabilities in the dockerfile dependencies of this project. Keeping your Docker base image up-to-date means you’ll benefit from security fixes in the latest version of your chosen image. #### Snyk changed the following file(s): - `quickstart/Dockerfile` We recommend upgrading to `openjdk:24-ea-20-jdk-oraclelinux8`, as this image has only **15** known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected. #### Vulnerabilities that will be fixed with an upgrade: | | Issue | Score | :-------------------------:|:-------------------------|:------------------------- ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png 'high severity') | Out-of-bounds Write <br/>[SNYK-DEBIAN11-GLIBC-5927133](https://snyk.io/vuln/SNYK-DEBIAN11-GLIBC-5927133) | &nbsp;&nbsp;**829**&nbsp;&nbsp; ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png 'high severity') | Out-of-bounds Write <br/>[SNYK-DEBIAN11-GLIBC-5927133](https://snyk.io/vuln/SNYK-DEBIAN11-GLIBC-5927133) | &nbsp;&nbsp;**829**&nbsp;&nbsp; ![critical severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/c.png 'critical severity') | CVE-2024-37371 <br/>[SNYK-DEBIAN11-KRB5-7411316](https://snyk.io/vuln/SNYK-DEBIAN11-KRB5-7411316) | &nbsp;&nbsp;**714**&nbsp;&nbsp; ![critical severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/c.png 'critical severity') | CVE-2024-37371 <br/>[SNYK-DEBIAN11-KRB5-7411316](https://snyk.io/vuln/SNYK-DEBIAN11-KRB5-7411316) | &nbsp;&nbsp;**714**&nbsp;&nbsp; ![critical severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/c.png 'critical severity') | CVE-2024-37371 <br/>[SNYK-DEBIAN11-KRB5-7411316](https://snyk.io/vuln/SNYK-DEBIAN11-KRB5-7411316) | &nbsp;&nbsp;**714**&nbsp;&nbsp; --- > [!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. > - Snyk has automatically assigned this pull request, [set who gets assigned](https://app.snyk.io/org/varant-zlai/project/df0f9e0a-e8b6-49d2-ac92-89b462d24468?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;fix-pr/settings/integration). --- **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: <img src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiJhMWE1ZWU0OS0zZGZmLTQ1MDgtYTk1Mi1kZmFmNDczMGY1YjYiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6ImExYTVlZTQ5LTNkZmYtNDUwOC1hOTUyLWRmYWY0NzMwZjViNiJ9fQ==" width="0" height="0"/> 🧐 [View latest project report](https://app.snyk.io/org/varant-zlai/project/df0f9e0a-e8b6-49d2-ac92-89b462d24468?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;fix-pr) 👩‍💻 [Set who automatically gets assigned](https://app.snyk.io/org/varant-zlai/project/df0f9e0a-e8b6-49d2-ac92-89b462d24468?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;fix-pr/settings/integration) 📜 [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/varant-zlai/project/df0f9e0a-e8b6-49d2-ac92-89b462d24468?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;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:** 🦉 [Learn about vulnerability in an interactive lesson of Snyk Learn.](https://learn.snyk.io/?loc&#x3D;fix-pr) [//]: # 'snyk:metadata:{"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"openjdk","from":"8-jre-slim","to":"24-ea-20-jdk-oraclelinux8"}],"env":"prod","issuesToFix":[{"exploit_maturity":"Mature","id":"SNYK-DEBIAN11-GLIBC-5927133","priority_score":829,"priority_score_factors":[{"type":"exploit","label":"High","score":214},{"type":"fixability","label":true,"score":214},{"type":"severity","label":"high","score":400},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"Out-of-bounds Write"},{"exploit_maturity":"Mature","id":"SNYK-DEBIAN11-GLIBC-5927133","priority_score":829,"priority_score_factors":[{"type":"exploit","label":"High","score":214},{"type":"fixability","label":true,"score":214},{"type":"severity","label":"high","score":400},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"Out-of-bounds Write"},{"exploit_maturity":"No Known Exploit","id":"SNYK-DEBIAN11-KRB5-7411316","priority_score":714,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"severity","label":"critical","score":500},{"type":"scoreVersion","label":"v1","score":1}],"severity":"critical","title":"CVE-2024-37371"},{"exploit_maturity":"No Known Exploit","id":"SNYK-DEBIAN11-KRB5-7411316","priority_score":714,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"severity","label":"critical","score":500},{"type":"scoreVersion","label":"v1","score":1}],"severity":"critical","title":"CVE-2024-37371"},{"exploit_maturity":"No Known Exploit","id":"SNYK-DEBIAN11-KRB5-7411316","priority_score":714,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"severity","label":"critical","score":500},{"type":"scoreVersion","label":"v1","score":1}],"severity":"critical","title":"CVE-2024-37371"}],"prId":"a1a5ee49-3dff-4508-a952-dfaf4730f5b6","prPublicId":"a1a5ee49-3dff-4508-a952-dfaf4730f5b6","packageManager":"dockerfile","priorityScoreList":[829,714],"projectPublicId":"df0f9e0a-e8b6-49d2-ac92-89b462d24468","projectUrl":"https://app.snyk.io/org/varant-zlai/project/df0f9e0a-e8b6-49d2-ac92-89b462d24468?utm_source=github&utm_medium=referral&page=fix-pr","prType":"fix","templateFieldSources":{"branchName":"default","commitMessage":"default","description":"default","title":"default"},"templateVariants":["updated-fix-title","priorityScore"],"type":"user-initiated","upgrade":["SNYK-DEBIAN11-GLIBC-5927133","SNYK-DEBIAN11-GLIBC-5927133","SNYK-DEBIAN11-KRB5-7411316","SNYK-DEBIAN11-KRB5-7411316","SNYK-DEBIAN11-KRB5-7411316"],"vulns":["SNYK-DEBIAN11-GLIBC-5927133","SNYK-DEBIAN11-KRB5-7411316"],"patch":[],"isBreakingChange":false,"remediationStrategy":"vuln"}' --------- Co-authored-by: snyk-bot <[email protected]>
1 parent eee0ce3 commit da1ef7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

quickstart/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Start from a Debian base image
2-
FROM openjdk:8-jre-slim
2+
FROM openjdk:17-jdk
33

44
# Update package lists and install necessary tools
55
RUN apt-get update && apt-get install -y \

0 commit comments

Comments
 (0)