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

fix security with Vulnerable module: base64url #466

Closed
wants to merge 1 commit into from

Conversation

ddtraceweb
Copy link

fix security with Vulnerable module: base64url

fix security with Vulnerable module: base64url
@justingreenberg
Copy link

Versions of base64url before 3.0.0 are vulnerable to to out-of-bounds reads (as it allocates uninitialized Buffers when number is passed in input on Node.js 4.x and below

references:

Node 4/5 are almost EOL and clearly contain vulnerabilities, maybe time to cut a new major and drop support?

@victor-geere
Copy link

jws 3.1.5 doesn't use base64url. that's the whole point of this merge request. we can't use this package while it has a security advisory. please reconsider.

@cjcodes
Copy link

cjcodes commented May 21, 2018

@jfromaniello or @ziluvatar can you weigh in here? Haven't heard anything from you guys since this became an issue 5 days ago.

This issue seems to be blocking a lot of folks, especially now that npm audit is becoming a bigger part of teams' deployment pipelines.

@ziluvatar
Copy link
Contributor

Answered in: #465 (comment)

Keep in mind our package.json definition allows JWS patch upgrades, you should be able to get the new JWS release right away.

I want to take a look to the fix from JWS first, I took a fast look yesterday and I'm not sure if the decoding works fine, but I want to do some checks before setting that version as default here, anyway, as I said, you could get it.

@ziluvatar
Copy link
Contributor

@ddtraceweb can you update your branch with latest commits from master branch? I fixed the CI there.

@ziluvatar ziluvatar mentioned this pull request May 30, 2018
@lbalmaceda lbalmaceda closed this May 30, 2018
@ziluvatar
Copy link
Contributor

Thanks for the PR @ddtraceweb ! I finally used my PR because I couldn't merge yours without rebasing master. Released on v8.2.2.

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.

6 participants