chore: Update dependency fast-xml-parser to v4 [SECURITY] #442
+21
−15
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.
This PR contains the following updates:
3.21.1
->4.4.1
GitHub Vulnerability Alerts
CVE-2023-26920
Impact
As a part of this vulnerability, user was able to se code using
__proto__
as a tag or attribute name.Patches
The problem has been patched in v4.1.2
Workarounds
User can check for "proto" in the XML string before parsing it to the parser.
References
https://gist.github.com/Sudistark/a5a45bd0804d522a1392cb5023aa7ef7
CVE-2024-41818
Summary
A ReDOS exists on currency.js was discovered by Gauss Security Labs R&D team.
Details
https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/src/v5/valueParsers/currency.js#L10
contains a vulnerable regex
PoC
pass the following string '\t'.repeat(13337) + '.'
Impact
Denial of service during currency parsing in experimental version 5 of fast-xml-parser-library
https://gauss-security.com
Release Notes
NaturalIntelligence/fast-xml-parser (fast-xml-parser)
v4.4.1
Compare Source
v4.4.0
Compare Source
v4.3.6
Compare Source
v4.3.5
Compare Source
v4.3.4
Compare Source
v4.3.3
Compare Source
v4.3.2
Compare Source
v4.3.1
Compare Source
v4.3.0
Compare Source
v4.2.7
Compare Source
v4.2.6
Compare Source
v4.2.5
Compare Source
v4.2.4
: Security FixCompare Source
Update to this release if you use entity parsing in Fast XML Parser.
v4.2.3
Compare Source
v4.2.2
Compare Source
v4.2.1
Compare Source
v4.2.0
Compare Source
v4.1.4
Compare Source
v4.1.3
Compare Source
v4.1.2
Compare Source
v4.1.1
Compare Source
v4.1.0
Compare Source
v4.0.15
Compare Source
v4.0.14
Compare Source
v4.0.13
Compare Source
v4.0.12
Compare Source
v4.0.11
Compare Source
v4.0.10
Compare Source
v4.0.9
Compare Source
v4.0.8
Compare Source
v4.0.7
Compare Source
v4.0.6
Compare Source
v4.0.5
Compare Source
v4.0.4
Compare Source
v4.0.3
Compare Source
v4.0.2
Compare Source
v4.0.1
Compare Source
v4.0.0
: v4Compare Source
esm
branch.4.0.0-beta.8 / 2021-12-13
4.0.0-beta.7 / 2021-12-09
4.0.0-beta.6 / 2021-12-05
suppressBooleanAttributes
by XML Builder for attributes with valuetrue
.4.0.0-beta.5 / 2021-12-04
4.0.0-beta.4 / 2021-12-02
4.0.0-beta.3 / 2021-11-30
attrMap
toattibutes
in parser output whenpreserveOrder:true
cdataTagName
tocdataPropName
commentPropName
attrNodeName
toattributesGroupName
attrValueProcessor
toattributeValueProcessor
parseNodeValue
toparseTagValue
ignoreNameSpace
toremoveNSPrefix
numParseOptions
tonumberParseOptions
suppressEmptyNode
isArray
option is added to parse a tag into arraypreserveOrder
option is added to render XML in such a way that the result js Object maintains the order of properties same as in XML.tagValueProcessor
andattributeValueProcessor
are changes with extra input parametersConfiguration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.