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

Update package-lock.json #4597

Merged
merged 1 commit into from
Sep 4, 2020
Merged

Conversation

jason-upchurch
Copy link
Contributor

@jason-upchurch jason-upchurch commented Sep 1, 2020

Summary (required)

Update package-lock.json

How to test the changes locally

Reviewers

JS experts
@rfultz @johnnyporkchops @patphongs (any one will work)

Snyk vulnerability CLI experts
@fec-jli

Optional
@lbeaufort

Part 1: reproduce the report

  • update develop branch
  • snyk test --file=package-lock.json --dev
  • verify that the elliptic and the serialize-javascript vulnerabilities are shown on screen (different name for the elliptic one, but same vulnerability as reported through GitHub)

Part 2: verify the fix

  • check out this branch
  • remove node_modules and package-lock
  • npm i
  • snyk test --file=package-lock.json --dev
  • pytest
  • run local api, check that data returns

@jason-upchurch jason-upchurch self-assigned this Sep 1, 2020
@jason-upchurch jason-upchurch added this to the Sprint 13.4 milestone Sep 1, 2020
@jason-upchurch jason-upchurch added the Security: high Remediate within 30 days label Sep 1, 2020
@lbeaufort lbeaufort removed their request for review September 1, 2020 15:38
@lbeaufort lbeaufort removed their request for review September 1, 2020 15:46
@fec-jli
Copy link
Contributor

fec-jli commented Sep 2, 2020

Great job.
I reproduce the issue and see 4 high severity vulnerability issues raised.
Screen Shot 2020-09-02 at 1 57 05 PM

after your change, elliptic and the serialize-javascript gone. Great.
the other 2 high severity vulnerability issues left there. Do we need address them?
or leave them alone for now? Thanks
Screen Shot 2020-09-02 at 1 57 24 PM

Copy link
Contributor

@rfultz rfultz left a comment

Choose a reason for hiding this comment

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

package-lock will be re-generated with npm i (and during deployment) based on what's in package.json. If we've already updated package.json and we're updating package-lock to keep in sync, cool

@jason-upchurch
Copy link
Contributor Author

package-lock will be re-generated with npm i (and during deployment) based on what's in package.json. If we've already updated package.json and we're updating package-lock to keep in sync, cool

Thanks @rfultz ! Yeah, I didn't actually touch package.json--this package is only present as a dev dependency in package-lock. I suspect npm i generated the package-lock at the upgraded version possibly because the parent package introduced an upgrade.

@fec-jli fec-jli merged commit 4019121 into develop Sep 4, 2020
@lbeaufort lbeaufort deleted the feature/4584-snyk-high-elliptic branch September 15, 2020 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Security: high Remediate within 30 days
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[GitHub] [High] Signature Malleabillity in elliptic (due 9/25/20)
3 participants