-
Notifications
You must be signed in to change notification settings - Fork 165
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
SECNG-1381 | Update dependencies, update library to 4.0.0 #261
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mcab
force-pushed
the
SECNG-1381/update-dependencies
branch
2 times, most recently
from
October 15, 2022 02:20
10754d4
to
bc010fb
Compare
mcab
force-pushed
the
SECNG-1381/update-dependencies
branch
from
October 15, 2022 02:30
2c313bc
to
6e9acf5
Compare
mcab
force-pushed
the
SECNG-1381/update-dependencies
branch
4 times, most recently
from
October 15, 2022 02:49
3a1e160
to
5ed056b
Compare
9.0.0 breaks compatability with Node v10.
For [0]. Any usage of @xmldom/xmldom >= 0.8.0 will normalize these, see [1] and [2]. The current xml-encryption (2.0.0) does not do this normalization, but will in 2.0.1 [3]. It's technically within the path of xmlenc.decrypt() [4], but this follows how assertions have been handled (not handling non-normalized whitespace). For xml-crypto, this was changed in 3.0.0 with [5]. [0] https://github.com/Clever/saml2/blob/6da3e9c39c326a2f6793bb87c6d12c9ab4446585/lib/saml2.coffee#L242-L245 [1] xmldom/xmldom#307 [2] xmldom/xmldom#314 [3] auth0/node-xml-encryption#101 [4] https://github.com/auth0/node-xml-encryption/blob/291f3f10d5d1d571a3b6da2d411aa323398f5650/lib/xmlenc.js#L185 [5] node-saml/xml-crypto#261
mcab
force-pushed
the
SECNG-1381/update-dependencies
branch
from
October 15, 2022 02:51
5ed056b
to
cfb5ce4
Compare
From the wide array of Node LTS tests, this library should still function as expected. Please open an issue if this is not the case. |
This was referenced Oct 15, 2022
mcab
changed the title
SECNG-1381 | Update dependencies
SECNG-1381 | Update dependencies, update library to 4.0.0
Oct 15, 2022
This was referenced Oct 15, 2022
Is there somewhere we can view a changelog showing breaking changes in 4.x? It is not clear if those are included in just this PR, or others. Thanks. |
Mainly this PR. Off the top of my head:
|
That’s quite helpful. Thanks!
… On Nov 3, 2022, at 10:13 AM, Mark Cabanero ***@***.***> wrote:
Mainly this PR. Off the top of my head:
xml-encryption was bumped up to ^2.0.0, which drops support for Node 8, and uses native crypto functions. Any user still on Node 8 will be unable to use 4.x and onwards.
@xmldom/xmldom was bumped up to ^0.8.3. This has a security fix for prototype pollution and other cases, but more critically, changes how normalization and serialization of XML documents occur. This can potentially affect the parsing of XML documents, but shouldn't affect the majority of cases.
xml-crypto was bumped up to ^3.0.0, which uses @xmldom/xmldom's 0.8.3. If you don't find issues with xmldom parsing, you should be fine.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Updates some dependencies.
Due to breaking changes, this will be a new major version.