Skip to content

Commit

Permalink
[Snyk] Security upgrade golang from 1.21.12-alpine3.20 to alpine3.20 (#…
Browse files Browse the repository at this point in the history
…193)

![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):

- `Dockerfiles/Dockerfile.package`

We recommend upgrading to `golang:alpine3.20`, as this image has only
**1** 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 | 

:-------------------------:|:-------------------------|:-------------------------
![low
severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/l.png
'low severity') | CVE-2024-6119
<br/>[SNYK-ALPINE320-OPENSSL-7895537](https://snyk.io/vuln/SNYK-ALPINE320-OPENSSL-7895537)
| &nbsp;&nbsp;**54**&nbsp;&nbsp;
![low
severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/l.png
'low severity') | CVE-2024-6119
<br/>[SNYK-ALPINE320-OPENSSL-7895537](https://snyk.io/vuln/SNYK-ALPINE320-OPENSSL-7895537)
| &nbsp;&nbsp;**54**&nbsp;&nbsp;
![low
severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/l.png
'low severity') | CVE-2024-9143
<br/>[SNYK-ALPINE320-OPENSSL-8235201](https://snyk.io/vuln/SNYK-ALPINE320-OPENSSL-8235201)
| &nbsp;&nbsp;**54**&nbsp;&nbsp;
![low
severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/l.png
'low severity') | CVE-2024-9143
<br/>[SNYK-ALPINE320-OPENSSL-8235201](https://snyk.io/vuln/SNYK-ALPINE320-OPENSSL-8235201)
| &nbsp;&nbsp;**54**&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.

---

**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=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiIwZmMyODU3Ni1mYmU2LTQ0ZGQtOTlhZi0zMWM2NThmOGQ1YzIiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6IjBmYzI4NTc2LWZiZTYtNDRkZC05OWFmLTMxYzY1OGY4ZDVjMiJ9fQ=="
width="0" height="0"/>
🧐 [View latest project
report](https://app.snyk.io/org/bcda/project/b185bf9a-b24d-4ac1-a892-6759ab92bc56?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;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/bcda/project/b185bf9a-b24d-4ac1-a892-6759ab92bc56?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":"golang","from":"1.21.12-alpine3.20","to":"alpine3.20"}],"env":"prod","issuesToFix":["SNYK-ALPINE320-OPENSSL-7895537","SNYK-ALPINE320-OPENSSL-8235201","SNYK-ALPINE320-OPENSSL-7895537","SNYK-ALPINE320-OPENSSL-8235201"],"prId":"0fc28576-fbe6-44dd-99af-31c658f8d5c2","prPublicId":"0fc28576-fbe6-44dd-99af-31c658f8d5c2","packageManager":"dockerfile","priorityScoreList":[54,54],"projectPublicId":"b185bf9a-b24d-4ac1-a892-6759ab92bc56","projectUrl":"https://app.snyk.io/org/bcda/project/b185bf9a-b24d-4ac1-a892-6759ab92bc56?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-ALPINE320-OPENSSL-7895537","SNYK-ALPINE320-OPENSSL-7895537","SNYK-ALPINE320-OPENSSL-8235201","SNYK-ALPINE320-OPENSSL-8235201"],"vulns":["SNYK-ALPINE320-OPENSSL-7895537","SNYK-ALPINE320-OPENSSL-8235201"],"patch":[],"isBreakingChange":false,"remediationStrategy":"vuln"}'

Co-authored-by: snyk-bot <[email protected]>
Co-authored-by: Carl Partridge <[email protected]>
  • Loading branch information
3 people authored Nov 13, 2024
1 parent b8cc063 commit 5b88b20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfiles/Dockerfile.package
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.21.12-alpine3.20
FROM golang:alpine3.20

ENV CGO_ENABLED=0

Expand Down

0 comments on commit 5b88b20

Please sign in to comment.