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

chore(deps): security upgrade axios from 1.5.1 to 1.6.0 #3384

Closed
wants to merge 2 commits into from

Conversation

chrisns
Copy link
Member

@chrisns chrisns commented Oct 28, 2023

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


Snyk has created this PR to fix one or more vulnerable packages in the `yarn` dependencies of this project.

Changes included in this PR

  • Changes to the following files to upgrade the vulnerable dependencies to a fixed version:
    • package.json
    • 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:
Severity Priority Score (*) Issue Breaking Change Exploit Maturity
high severity 748/1000
Why? Proof of Concept exploit, Recently disclosed, Has a fix available, CVSS 7.1
Cross-site Request Forgery (CSRF)
SNYK-JS-AXIOS-6032459
No Proof of Concept

(*) Note that the real score may have changed since the PR was raised.

Check the changes in this PR to ensure they won't cause issues with your project.


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

🛠 Adjust project settings

📚 Read more about Snyk's upgrade and patch logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Cross-site Request Forgery (CSRF)

@robertsLando robertsLando changed the title [Snyk] Security upgrade axios from 1.5.1 to 1.6.0 chore(deps): security upgrade axios from 1.5.1 to 1.6.0 Oct 30, 2023
Copy link
Member

@robertsLando robertsLando left a comment

Choose a reason for hiding this comment

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

@chrisns fix tests?

@chrisns
Copy link
Member Author

chrisns commented Oct 30, 2023

On holiday. Will look in a few days

@chrisns chrisns force-pushed the snyk-fix-39d19f89e2774cc34c8c79fbe864ac9f branch from 84728e6 to 9b1b26f Compare November 27, 2023 18:36
Copy link
Contributor

Pull Request Test Coverage Report for Build 7009340372

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 21.379%

Totals Coverage Status
Change from base Build 7007739961: 0.0%
Covered Lines: 3734
Relevant Lines: 18594

💛 - Coveralls

@chrisns chrisns requested a review from robertsLando November 27, 2023 18:50
@chrisns chrisns enabled auto-merge (rebase) November 27, 2023 18:50
@@ -39,9 +39,8 @@ RUN npm_config_build_from_source=true npm rebuild @serialport/bindings-cpp
# Build back and frontend only when not existing
RUN [ -d 'dist' ] && echo "Skipping build" || npm run build

RUN npm prune --production && \
RUN yarn workspaces focus --production && \
Copy link
Member

Choose a reason for hiding this comment

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

I think you added this change in the wrong branch :) could you create a new pr?

Copy link
Member Author

Choose a reason for hiding this comment

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

No, was on purpose. Npm couldn't reconcile the deps. This is yarn equivalent

Copy link
Member

@robertsLando robertsLando Nov 28, 2023

Choose a reason for hiding this comment

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

I replaced yarn on purpose because the previous yarn command was throwing Could't allocate enough memory in arm32 builds... Anyway I can try to merge this to see how it goes and revert in case...

Copy link
Member Author

Choose a reason for hiding this comment

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

🤞

@@ -120,7 +120,8 @@
"@zwave-js/winston-daily-rotate-file": "^4.5.6-1",
"ansi_up": "^6.0.2",
"archiver": "^6.0.1",
"axios": "^1.5.1",
"axios": "^1.6.2",
"axios-progress-bar": "^1.2.0",
Copy link
Member

Choose a reason for hiding this comment

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

I have dropped this dep

Copy link
Member Author

Choose a reason for hiding this comment

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

Oh. Must have been a merge conflict. I'll update.

Copy link
Member

Choose a reason for hiding this comment

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

👍🏼

auto-merge was automatically disabled December 13, 2023 13:22

Pull request was closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants