Skip to content
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

Update dependency rexml to v3.3.2 [SECURITY] #250

Merged
merged 1 commit into from
Jul 17, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 17, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
rexml (changelog) 3.2.8 -> 3.3.2 age adoption passing confidence

GitHub Vulnerability Alerts

CVE-2024-39908

Impact

The REXML gem before 3.3.1 has some DoS vulnerabilities when it parses an XML that has many specific characters such as <, 0 and %>.

If you need to parse untrusted XMLs, you may be impacted to these vulnerabilities.

Patches

The REXML gem 3.3.2 or later include the patches to fix these vulnerabilities.

Workarounds

Don't parse untrusted XMLs.

References


Release Notes

ruby/rexml (rexml)

v3.3.2: REXML 3.3.2 - 2024-07-16

Compare Source

Improvements
  • Improved parse performance.

  • Improved parse performance.

  • Added support for raising a parse exception when an XML has extra
    content after the root element.

  • Added support for raising a parse exception when an XML
    declaration exists in wrong position.

  • Removed needless a space after XML declaration in pretty print mode.

  • Stopped to emit :text event after the root element.

Fixes
  • Fixed a bug that SAX2 parser doesn't expand predefined entities for
    characters callback.
Thanks
  • NAITOH Jun

  • Watson

v3.3.1: REXML 3.3.1 - 2024-06-25

Compare Source

Improvements
  • Added support for detecting malformed top-level comments.

    • GH-145
    • Patch by Hiroya Fujinami.
  • Improved REXML::Element#attribute performance.

    • GH-146
    • Patch by Hiroya Fujinami.
  • Added support for detecting malformed <!--> comments.

    • GH-147
    • Patch by Hiroya Fujinami.
  • Added support for detecting unclosed DOCTYPE.

    • GH-152
    • Patch by Hiroya Fujinami.
  • Added changlog_uri metadata to gemspec.

  • Improved parse performance.

Fixes
  • Fixed a bug that large XML can't be parsed.

  • Fixed a bug that private constants are visible.

Thanks
  • Hiroya Fujinami

  • NAITOH Jun

  • fynsta

v3.3.0: REXML 3.3.0 - 2024-06-11

Compare Source

Improvements
  • Added support for strscan 0.7.0 installed with Ruby 2.6.
    • GH-142
    • Reported by Fernando Trigoso.
Thanks
  • Fernando Trigoso

v3.2.9: REXML 3.2.9 - 2024-06-09

Compare Source

Improvements
  • Added support for old strscan.

  • Improved attribute value parse performance.

  • Improved REXML::Node#each_recursive performance.

  • Improved text parse performance.

    • Reported by mprogrammer.
Thanks
  • Adam
  • NAITOH Jun
  • Hiroya Fujinami
  • mprogrammer

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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Jul 17, 2024
@renovate renovate bot merged commit 16f75dd into master Jul 17, 2024
6 checks passed
@renovate renovate bot deleted the renovate/rubygems-rexml-vulnerability branch July 17, 2024 03:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants