carbonfive / raygun-rails

Rails 7 application template for Raygun, the Carbon Five Rails application generator.
https://github.com/carbonfive/raygun
52 stars 26 forks source link

🚨 [security] [ruby] Update rexml 3.2.5 → 3.2.8 (patch) #792

Closed depfu[bot] closed 1 month ago

depfu[bot] commented 3 months ago

🚨 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?

↗️ rexml (indirect, 3.2.5 → 3.2.8) · Repo · Changelog

Security Advisories 🚨

🚨 REXML contains a denial of service vulnerability

Impact

The REXML gem before 3.2.6 has a DoS vulnerability when it parses an XML that has many <s in an attribute value.

If you need to parse untrusted XMLs, you many be impacted to this vulnerability.

Patches

The REXML gem 3.2.7 or later include the patch to fix this vulnerability.

Workarounds

Don't parse untrusted XMLs.

References

Release Notes

3.2.7

Improvements

Fixes

  • XPath: Fixed a bug of normalize_space(array).

  • XPath: Fixed a bug that wrong position is used with nested path.

    • GH-110

    • GH-122

    • Reported by jcavalieri.

    • Patch by NAITOH Jun.

  • Fixed a bug that an exception message can't be generated for
    invalid encoding XML.

    • GH-29

    • GH-123

    • Reported by DuKewu.

    • Patch by NAITOH Jun.

3.2.6

Improvements

  • Required Ruby 2.5 or later explicitly.
    GH-69
    [Patch by Ivo Anjo]

  • Added documentation for maintenance cycle.
    GH-71
    [Patch by Ivo Anjo]

  • Added tutorial.
    GH-77
    GH-78
    [Patch by Burdette Lamar]

  • Improved performance and memory usage.
    GH-94
    [Patch by fatkodima]

  • REXML::Parsers::XPathParser#abbreviate: Added support for
    function arguments.
    GH-95
    [Reported by pulver]

  • REXML::Parsers::XPathParser#abbreviate: Added support for string
    literal that contains double-quote.
    GH-96
    [Patch by pulver]

  • REXML::Parsers::XPathParser#abbreviate: Added missing / to
    :descendant_or_self/:self/:parent.
    GH-97
    [Reported by pulver]

  • REXML::Parsers::XPathParser#abbreviate: Added support for more patterns.
    GH-97
    [Reported by pulver]

Fixes

  • Fixed a typo in NEWS.
    GH-72
    [Patch by Spencer Goodman]

  • Fixed a typo in NEWS.
    GH-75
    [Patch by Andrew Bromwich]

  • Fixed documents.
    GH-87
    [Patch by Alexander Ilyin]

  • Fixed a bug that Attriute convert ' and &apos; even when
    attribute_quote: :quote is used.
    GH-92
    [Reported by Edouard Brière]

  • Fixed links in tutorial.
    GH-99
    [Patch by gemmaro]

Thanks

  • Ivo Anjo

  • Spencer Goodman

  • Andrew Bromwich

  • Burdette Lamar

  • Alexander Ilyin

  • Edouard Brière

  • fatkodima

  • pulver

  • gemmaro

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 58 commits:

🆕 strscan (added, 3.1.0)


Depfu Status

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
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu cancel merge
Cancels automatic merging of this PR
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)
depfu[bot] commented 1 month ago

Closed in favor of #799.