matchID-project / frontend

Frontend for matchID project
https://matchID-project.github.io
GNU Lesser General Public License v3.0
2 stars 2 forks source link

[Snyk] Security upgrade node from 18.15-alpine3.17 to 18.18.1-alpine3.17 #185

Closed rhanka closed 4 months ago

rhanka commented 9 months ago

This PR was automatically created by Snyk using the credentials of a real user.


Keeping your Docker base image up-to-date means you’ll benefit from security fixes in the latest version of your chosen image. #### Changes included in this PR - Dockerfile We recommend upgrading to `node:18.18.1-alpine3.17`, as this image has only 5 known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected. Some of the most important vulnerabilities in your base image include: | Severity | Priority Score / 1000 | Issue | Exploit Maturity | | :------: | :-------------------- | :---- | :--------------- | | ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity") | **614** | CVE-2023-5363
[SNYK-ALPINE317-OPENSSL-6032385](https://snyk.io/vuln/SNYK-ALPINE317-OPENSSL-6032385) | No Known Exploit | | ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **621** | HTTP Request Smuggling
[SNYK-UPSTREAM-NODE-5741793](https://snyk.io/vuln/SNYK-UPSTREAM-NODE-5741793) | Proof of Concept | | ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity") | **614** | Prototype Pollution
[SNYK-UPSTREAM-NODE-5741794](https://snyk.io/vuln/SNYK-UPSTREAM-NODE-5741794) | No Known Exploit | | ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity") | **614** | Denial of Service (DoS)
[SNYK-UPSTREAM-NODE-5741889](https://snyk.io/vuln/SNYK-UPSTREAM-NODE-5741889) | No Known Exploit | | ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **621** | Improper Access Control
[SNYK-UPSTREAM-NODE-5843454](https://snyk.io/vuln/SNYK-UPSTREAM-NODE-5843454) | Proof of Concept | --- **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](https://app.snyk.io/org/matchid/project/b48b33bf-5d6a-40df-ba5e-f5f4c678d733?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/matchid/project/b48b33bf-5d6a-40df-ba5e-f5f4c678d733?utm_source=github&utm_medium=referral&page=fix-pr/settings) [//]: # 'snyk:metadata:{"prId":"12f3f7e8-603f-49f2-8e64-0fb8b9b95ee3","prPublicId":"12f3f7e8-603f-49f2-8e64-0fb8b9b95ee3","dependencies":[{"name":"node","from":"18.15-alpine3.17","to":"18.18.1-alpine3.17"}],"packageManager":"dockerfile","projectPublicId":"b48b33bf-5d6a-40df-ba5e-f5f4c678d733","projectUrl":"https://app.snyk.io/org/matchid/project/b48b33bf-5d6a-40df-ba5e-f5f4c678d733?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-UPSTREAM-NODE-5741793","SNYK-UPSTREAM-NODE-5843454","SNYK-UPSTREAM-NODE-5741794","SNYK-UPSTREAM-NODE-5741889","SNYK-ALPINE317-OPENSSL-6032385"],"upgrade":["SNYK-ALPINE317-OPENSSL-6032385","SNYK-UPSTREAM-NODE-5741793","SNYK-UPSTREAM-NODE-5741794","SNYK-UPSTREAM-NODE-5741889","SNYK-UPSTREAM-NODE-5843454"],"isBreakingChange":false,"env":"prod","prType":"fix","templateVariants":["updated-fix-title","priorityScore"],"priorityScoreList":[621,621,614,614,614],"remediationStrategy":"vuln"}' --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Improper Access Control](https://learn.snyk.io/lesson/broken-access-control/?loc=fix-pr) 🦉 [Prototype Pollution](https://learn.snyk.io/lesson/prototype-pollution/?loc=fix-pr) 🦉 [Denial of Service (DoS)](https://learn.snyk.io/lesson/redos/?loc=fix-pr) ## Summary by CodeRabbit - **Chores** - Updated the base Node.js image version to `18.18.1` for improved performance and security.
coderabbitai[bot] commented 9 months ago

Walkthrough

This update involves a simple yet significant change to the Dockerfile, specifically upgrading the base image of Node.js from version 18.15 to 18.18.1. This adjustment ensures that the application remains up-to-date with the latest Node.js enhancements, security patches, and performance improvements, maintaining the project's efficiency and security.

Changes

File Change Summary
Dockerfile Updated Node.js image version from 18.15 to 18.18.1

🐇✨
In the realm of code, under the moon's soft glow,
A rabbit hopped by, with updates in tow.
"From 18.15 to 18.18.1, let's leap," it said,
With a flick and a click, the Dockerfile led.
Now safer and swifter our project does run,
Thanks to the hop of the diligent bun.
🌟🐾

Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share - [X](https://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai) - [Mastodon](https://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai) - [Reddit](https://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai) - [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code)

Tips ### Chat There are 3 ways to chat with CodeRabbit: - Review comments: Directly reply to a review comment made by CodeRabbit. Example: - `I pushed a fix in commit .` - `Generate unit-tests for this file.` - Files and specific lines of code (under the "Files changed" tab): Tag `@coderabbitai` in a new review comment at the desired location with your query. Examples: - `@coderabbitai generate unit tests for this file.` - `@coderabbitai modularize this function.` - PR comments: Tag `@coderabbitai` in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples: - `@coderabbitai generate interesting stats about this repository from git and render them as a table.` - `@coderabbitai show all the console.log statements in this repository.` - `@coderabbitai read src/utils.ts and generate unit tests.` - `@coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.` Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. ### CodeRabbit Commands (invoked as PR comments) - `@coderabbitai pause` to pause the reviews on a PR. - `@coderabbitai resume` to resume the paused reviews. - `@coderabbitai review` to trigger a review. This is useful when automatic reviews are disabled for the repository. - `@coderabbitai resolve` resolve all the CodeRabbit review comments. - `@coderabbitai help` to get help. Additionally, you can add `@coderabbitai ignore` anywhere in the PR description to prevent this PR from being reviewed. ### CodeRabbit Configration File (`.coderabbit.yaml`) - You can programmatically configure CodeRabbit by adding a `.coderabbit.yaml` file to the root of your repository. - The JSON schema for the configuration file is available [here](https://coderabbit.ai/integrations/coderabbit-overrides.v2.json). - If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: `# yaml-language-server: $schema=https://coderabbit.ai/integrations/coderabbit-overrides.v2.json` ### CodeRabbit Discord Community Join our [Discord Community](https://discord.com/invite/GsXnASn26c) to get help, request features, and share feedback.