Update dependency rexml to v3.3.9 [SECURITY] #2704
Merged
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.3.6
->3.3.9
GitHub Vulnerability Alerts
CVE-2024-49761
Impact
The REXML gem before 3.3.9 has a ReDoS vulnerability when it parses an XML that has many digits between
&#
andx...;
in a hex numeric character reference (&#x...;
).This does not happen with Ruby 3.2 or later. Ruby 3.1 is the only affected maintained Ruby. Note that Ruby 3.1 will reach EOL on 2025-03.
Patches
The REXML gem 3.3.9 or later include the patch to fix the vulnerability.
Workarounds
Use Ruby 3.2 or later instead of Ruby 3.1.
References
Release Notes
ruby/rexml (rexml)
v3.3.9
: REXML 3.3.9 - 2024-10-24Compare Source
Improvements
Fixes
Fixed a parse bug for text only invalid XML.
Fixed a parse bug that
&#​0x...;
is accepted as a characterreference.
Thanks
v3.3.8
: REXML 3.3.8 - 2024-09-29Compare Source
Improvements
Fixes
the predefined "xml" namespace is reported.
Thanks
NAITOH Jun
KITAITI Makoto
v3.3.7
: REXML 3.3.7 - 2024-09-04Compare Source
Improvements
Added local entity expansion limit methods
Removed explicit strscan dependency
Thanks
takuya kodama
NAITOH Jun
Bo Anderson
Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, 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.