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
…192)

![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.tests`

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=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiI2ZGQ3MmZlOS03YzYyLTQ3OWUtOGU3ZC02ZDlkMzNhZWU5MTgiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6IjZkZDcyZmU5LTdjNjItNDc5ZS04ZTdkLTZkOWQzM2FlZTkxOCJ9fQ=="
width="0" height="0"/>
🧐 [View latest project
report](https://app.snyk.io/org/bcda/project/7e922eb3-948d-43a9-916b-1a82adaf4c91?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/7e922eb3-948d-43a9-916b-1a82adaf4c91?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":"6dd72fe9-7c62-479e-8e7d-6d9d33aee918","prPublicId":"6dd72fe9-7c62-479e-8e7d-6d9d33aee918","packageManager":"dockerfile","priorityScoreList":[54,54],"projectPublicId":"7e922eb3-948d-43a9-916b-1a82adaf4c91","projectUrl":"https://app.snyk.io/org/bcda/project/7e922eb3-948d-43a9-916b-1a82adaf4c91?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]>
  • Loading branch information
christopher-maboh and snyk-bot authored Nov 13, 2024
1 parent 8942a61 commit b8cc063
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfiles/Dockerfile.tests
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

RUN apk update upgrade

Expand Down

0 comments on commit b8cc063

Please sign in to comment.