[Snyk] Security upgrade golang from 1.16-alpine to 1.21.9-alpine #63
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was automatically created by Snyk using the credentials of a real user.
![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
Snyk has created this PR to fix 5 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):
docker/Dockerfile
We recommend upgrading to
golang:1.21.9-alpine
, as this image has only 6 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:
SNYK-ALPINE315-ZLIB-2976173
SNYK-ALPINE315-OPENSSL-2426331
SNYK-ALPINE315-OPENSSL-3314621
SNYK-ALPINE315-OPENSSL-3314629
SNYK-ALPINE315-OPENSSL-3368753
Important
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
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic
Learn how to fix vulnerabilities with free interactive lessons:
🦉 Double Free
🦉 Use After Free
[//]: # 'snyk:metadata:{"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"golang","from":"1.16-alpine","to":"1.21.9-alpine"}],"env":"prod","issuesToFix":[{"exploit_maturity":"No Known Exploit","id":"SNYK-ALPINE315-ZLIB-2976173","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":"Out-of-bounds Write"},{"exploit_maturity":"No Known Exploit","id":"SNYK-ALPINE315-OPENSSL-3314629","priority_score":614,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"severity","label":"high","score":400},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"Double Free"},{"exploit_maturity":"No Known Exploit","id":"SNYK-ALPINE315-OPENSSL-3368753","priority_score":614,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"severity","label":"high","score":400},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"Improper Certificate Validation"},{"exploit_maturity":"No Known Exploit","id":"SNYK-ALPINE315-OPENSSL-2426331","priority_score":614,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"severity","label":"high","score":400},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"Loop with Unreachable Exit Condition ('Infinite Loop')"},{"exploit_maturity":"No Known Exploit","id":"SNYK-ALPINE315-OPENSSL-3314621","priority_score":614,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"severity","label":"high","score":400},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"Use After Free"}],"prId":"a9e84639-aeee-419e-bbff-4bbfb30c5ce0","prPublicId":"a9e84639-aeee-419e-bbff-4bbfb30c5ce0","packageManager":"dockerfile","priorityScoreList":[714,614,614,614,614],"projectPublicId":"c7fc3ca3-8d59-453d-9a53-af93b2e70812","projectUrl":"https://app.snyk.io/org/spresser-hlrs/project/c7fc3ca3-8d59-453d-9a53-af93b2e70812?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":"auto","upgrade":["SNYK-ALPINE315-OPENSSL-2426331","SNYK-ALPINE315-OPENSSL-3314621","SNYK-ALPINE315-OPENSSL-3314629","SNYK-ALPINE315-OPENSSL-3368753","SNYK-ALPINE315-ZLIB-2976173"],"vulns":["SNYK-ALPINE315-ZLIB-2976173","SNYK-ALPINE315-OPENSSL-3314629","SNYK-ALPINE315-OPENSSL-3368753","SNYK-ALPINE315-OPENSSL-2426331","SNYK-ALPINE315-OPENSSL-3314621"],"patch":[],"isBreakingChange":false,"remediationStrategy":"vuln"}'