Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Fix for 2 vulnerabilities #6648

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

pranay01
Copy link
Collaborator

@pranay01 pranay01 commented Dec 17, 2024

snyk-top-banner

Snyk has created this PR to fix 2 vulnerabilities in the yarn dependencies of this project.

Snyk changed the following file(s):

  • frontend/package.json
  • frontend/yarn.lock

Note for zero-installs users

If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the .yarn/cache/ directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to run yarn to update the contents of the ./yarn/cache directory.
If you are not using zero-install you can ignore this as your flow should likely be unchanged.

Vulnerabilities that will be fixed with an upgrade:

Issue Score
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-PATHTOREGEXP-8482416
  738  
medium severity Cross-site Scripting (XSS)
SNYK-JS-SERIALIZEJAVASCRIPT-6147607
  626  

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:
🧐 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:

🦉 Regular Expression Denial of Service (ReDoS)
🦉 Cross-site Scripting (XSS)


Important

Fixes vulnerabilities by upgrading terser-webpack-plugin and webpack-dev-server in frontend/package.json.

  • Dependencies:
    • Upgrade terser-webpack-plugin from ^5.2.5 to ^5.3.11 in frontend/package.json.
    • Upgrade webpack-dev-server from ^4.15.2 to ^5.2.0 in frontend/package.json.
  • Vulnerabilities Fixed:
    • Fixes Regular Expression Denial of Service (ReDoS) vulnerability.
    • Fixes Cross-site Scripting (XSS) vulnerability.

This description was created by Ellipsis for fe948c5. It will automatically update as commits are pushed.

@pranay01 pranay01 requested a review from YounixM as a code owner December 17, 2024 06:22
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Copy link

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

@github-actions github-actions bot added the bug Something isn't working label Dec 17, 2024
Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Looks good to me! Reviewed everything up to fe948c5 in 11 seconds

More details
  • Looked at 22 lines of code in 1 files
  • Skipped 1 files when reviewing.
  • Skipped posting 2 drafted comments based on config settings.
1. frontend/package.json:122
  • Draft comment:
    Ensure that the update to terser-webpack-plugin is compatible with your current webpack configuration and usage, as version changes might introduce breaking changes.
  • Reason this comment was not posted:
    Confidence changes required: 50%
    The PR updates the versions of terser-webpack-plugin and webpack-dev-server in package.json. I need to ensure that these updates are consistent with the yarn.lock file and that there are no breaking changes that could affect the project.
2. frontend/package.json:131
  • Draft comment:
    Ensure that the update to webpack-dev-server is compatible with your current webpack configuration and usage, as version changes might introduce breaking changes.
  • Reason this comment was not posted:
    Confidence changes required: 50%
    The PR updates the versions of terser-webpack-plugin and webpack-dev-server in package.json. I need to ensure that these updates are consistent with the yarn.lock file and that there are no breaking changes that could affect the project.

Workflow ID: wflow_SHTo3gSaBRWmm0m2


You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

Copy link

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants