[Snyk] Security upgrade node from 18.20.3-slim to hydrogen-bookworm-slim #561
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.
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):
project/c2-microservices-v1/udacity-c2-restapi-user/Dockerfile
We recommend upgrading to
node:hydrogen-bookworm-slim
, as this image has only 36 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-DEBIAN12-ZLIB-6008963
SNYK-UPSTREAM-NODE-7430900
SNYK-UPSTREAM-NODE-7430905
SNYK-DEBIAN12-APT-1541449
SNYK-DEBIAN12-NCURSES-6123823
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:
🦉 Improper Control of Generation of Code ('Code Injection')
🦉 Access Restriction Bypass
[//]: # 'snyk:metadata:{"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"node","from":"18.20.3-slim","to":"hydrogen-bookworm-slim"}],"env":"prod","issuesToFix":[{"exploit_maturity":"No Known Exploit","id":"SNYK-DEBIAN12-ZLIB-6008963","priority_score":500,"priority_score_factors":[{"type":"severity","label":"critical","score":500},{"type":"scoreVersion","label":"v1","score":1}],"severity":"critical","title":"Integer Overflow or Wraparound"},{"exploit_maturity":"No Known Exploit","id":"SNYK-UPSTREAM-NODE-7430900","priority_score":300,"priority_score_factors":[{"type":"severity","label":"medium","score":300},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Improper Control of Generation of Code ('Code Injection')"},{"exploit_maturity":"No Known Exploit","id":"SNYK-UPSTREAM-NODE-7430905","priority_score":300,"priority_score_factors":[{"type":"severity","label":"medium","score":300},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Access Restriction Bypass"},{"exploit_maturity":"No Known Exploit","id":"SNYK-DEBIAN12-NCURSES-6123823","priority_score":150,"priority_score_factors":[{"type":"severity","label":"low","score":150},{"type":"scoreVersion","label":"v1","score":1}],"severity":"low","title":"CVE-2023-50495"},{"exploit_maturity":"No Known Exploit","id":"SNYK-DEBIAN12-APT-1541449","priority_score":150,"priority_score_factors":[{"type":"severity","label":"low","score":150},{"type":"scoreVersion","label":"v1","score":1}],"severity":"low","title":"Improper Verification of Cryptographic Signature"}],"prId":"55327885-b8e8-4ac6-ba83-db71979c07af","prPublicId":"55327885-b8e8-4ac6-ba83-db71979c07af","packageManager":"dockerfile","priorityScoreList":[500,300,300,150,150],"projectPublicId":"1d713f43-edf8-4b8f-94d8-1dc67d31a046","projectUrl":"https://app.snyk.io/org/nithinmohantk/project/1d713f43-edf8-4b8f-94d8-1dc67d31a046?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-DEBIAN12-APT-1541449","SNYK-DEBIAN12-NCURSES-6123823","SNYK-DEBIAN12-ZLIB-6008963","SNYK-UPSTREAM-NODE-7430900","SNYK-UPSTREAM-NODE-7430905"],"vulns":["SNYK-DEBIAN12-ZLIB-6008963","SNYK-UPSTREAM-NODE-7430900","SNYK-UPSTREAM-NODE-7430905","SNYK-DEBIAN12-NCURSES-6123823","SNYK-DEBIAN12-APT-1541449"],"patch":[],"isBreakingChange":false,"remediationStrategy":"vuln"}'