🚨 [security] Update rexml 3.2.8 → 3.3.2 (minor) #250
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.
🚨 Your current dependencies have known security vulnerabilities 🚨
This dependency update fixes known security vulnerabilities. Please see the details below and assess their impact carefully. We recommend to merge and deploy this as soon as possible!
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.
What changed?
Security Advisories 🚨
🚨 REXML denial of service vulnerability
Release Notes
3.3.2
3.3.1
3.3.0
3.2.9
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 59 commits:
Add 3.3.2 entry
test: improve linear performance test names
Fix performance issue caused by using repeated `>` characters inside `<xml><!-- --></xml>` (#177)
Fix ReDoS by using repeated space characters inside `<!DOCTYPE name [<!ATTLIST>]>` (#176)
Suppress have_root not initialized warnings on Ruby < 3
Fix performance issue caused by using repeated `>` characters inside `<!DOCTYPE name [<!ENTITY>]>` (#175)
Fix performance issue caused by using repeated `>` characters inside `<!DOCTYPE root [<!-- PAYLOAD -->]>` (#174)
Fix performance issue caused by using repeated `>` characters after ` <!DOCTYPE name` (#173)
Fix performance issue caused by using repeated `>` characters inside `CDATA [ PAYLOAD ]` (#172)
Fix performance issue caused by using repeated `>` characters inside comments (#171)
Fix ReDoS caused by very large character references using repeated 0s (#169)
Fix performance issue caused by using repeated `>` characters inside `<?xml` (#170)
Fix a bug that SAX2 parser doesn't expand the predefined entities for "characters" (#168)
Do not output :text event after the root tag is closed (#167)
test Text.check: add entity reference with new line case
test Text.check: add a space at the start in character reference cases
test Text.check: use "why" for test name
test Text.check: add garbage at the end in character reference cases
test Text.check: add empty reference case
Fix test for Text.check (#166)
Add tests for REXML::Text.check (#165)
Stop adding extra new line after XML declaration with pretty format (#164)
test: move an attribute value test to parse/test_element.rb
Add position check for XML declaration (#162)
fix: Extra content at the end of the document (#161)
Optimize BaseParser#unnormalize method to replace "\r\n" with "\n" only when "\r\n" is included (#160)
Bump version
Add 3.3.1 entry
Optimize BaseParser#unnormalize method (#158)
Reuse of Set.new at prefixes variables (#157)
Add changelog_uri to gemspec (#156)
Don't include private_constant-ed module (#155)
Fix a bug that a large XML can't be parsed (#154)
Reject unclosed DOCTYPE on parsing (#153)
Add a "Malformed comment" check for invalid comments such as `<!-->` (#147)
Fix small typos (#148)
Improve `Element#attribute` implementation as 6500x faster (#146)
Add a "malformed comment" check for top-level comments (#145)
Remove an unused class var `@@namespaces` (#144)
Bump version
Add 3.3.0 entry
ci: don't use Ruby 2.5 for gem test
Add support for strscan 0.7.0 installed with Ruby 2.6
ci document: use the latest Ruby
news: fix a typo
Bump version
Add 3.2.9 entry
Improve text parse performance
Improve `Node#each_recursive` performance (#139)
test: reduce the number of rehearsal executions
test: improve name
benchmark: Remove non-parsing operations from the DOM case (#136)
Optimize Source#read_until method (#135)
Source#read_until: Add missing position move on all read
Add missing encode for custom term
Fix the NEWS.md and change PR reference that fixes CVE-2024-35176 (#133)
Use /#{Regexp.escape}/ instead of Regexp.union
Add support for old strscan
Bump version
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase
.All Depfu comment commands