-
Notifications
You must be signed in to change notification settings - Fork 474
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
bump xmldom to 0.5.x since all lower versions have security issue (#551) #552
Conversation
This PR needs to be closed and a new one opened with the requested changes against the latest v2.x tag. |
@cjbarth don't you need to create a branch from tag v2.0.5 first? that's what I'm asking in my PR description, I'm not really sure what a PR against a tag would be otherwise. |
@cjbarth I can watch the diff this way, but not open a PR. That makes sense to me, since I think a branch would be required to point to the result of the merge. |
@markstos I can select it indeed, but then the button to open the PR disappears |
(Regardless of the Github UI, I'm not really sure what opening a PR on a tag would mean in term of Git? Where would the merge commit go once the PR is merged? tag do not follow commits the same way branches do) |
@forty You are right-- it's a bad UI. I've created a "2.x" branch based on the v2.0.5 to submit your PR against. Thank you. |
We actually already had a v2 branch. I was just going to bring it up to date :) |
Ah yes, I did notice that v2 branch, but it did seem very old :) Let me know which one I should use (v2 once @cjbarth has updated it or 2.x) |
@cjbarth I just saw the v2 branch is now updated. I would recommend resetting --hard it to v2.0.5 instead, so that it points to the same commit (or I can use that 2.x branch if that's simpler for everyone) |
I've brought the branch up to date. It now equals the tag v2.0.5. I have a neat little script that is like @markstos, do you have an opinion on this. I don't mind resetting |
Thanks @cjbarth @markstos and @eero3 to have made it happen. Note that it seems passport-saml still depends on a vulnerable xmldom version, indirectly via xml-encryption. A patched release has not yet been released to NPM, so we need to wait for xml-encryption upstream to do it. I opened an issue there. |
Description
This is a cherry-pick of the commit introduced by #551 on tag v2.0.5, so a v2.0.6 can be released with the security fix (while waiting for a 3.x release).
I think a maintainer will have to create a v2.x branch on the main repo so I can target it with this PR (currently targeting master, which does not make any sense, I know ^^)