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

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

depfu[bot]
Copy link

@depfu depfu bot commented May 16, 2024


Welcome to Depfu 👋

This is one of the first three pull requests with dependency updates we've sent your way. We tried to start with a few easy patch-level updates. Hopefully your tests will pass and you can merge this pull request without too much risk. This should give you an idea how Depfu works in general.

After you merge your first pull request, we'll send you a few more. We'll never open more than seven PRs at the same time so you're not getting overwhelmed with updates.

Let us know if you have any questions. Thanks so much for giving Depfu a try!



🚨 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 (indirect, 3.0.4 → 3.1.0) · Repo · Changelog

Release Notes

3.1.0

strscan 3.1.0 - 2024-02-04

Fixes

  • jruby: Fixed a bug that substring can't be used.

3.0.9

strscan 3.0.9 - 2024-01-21

Improvements

  • jruby: StringScanner#rest: Changed to use the source encoding instead of
    US-ASCII for empty case.

  • jruby: Dropped support for old Joni.

    • GH-76
    • Patch by Olle Jonsson
  • jruby: StringScanner#scan: Stopped to use shared string for result.

Thanks

  • NAITOH Jun

  • Olle Jonsson

3.0.8

strscan 3.0.8 - 2024-01-13

Improvements

  • StringScanner#captures: Changed to return nil not "" for
    unmached capture. Because StringScanner#[] and MatchData#[]
    does so.
    • GH-72
    • Patched by NAITOH Jun

Thanks

  • NAITOH Jun

3.0.7

strscan 3.0.7 - 2023-10-11

Improvements

  • jruby: Added support for fixed anchor.

Fixes

  • Fixed a crash bug of StringScanner#named_capture on not matched
    status.
    • GH-61
    • Patch by OKURA Masafumi

Thanks

  • OKURA Masafumi

3.0.6 (from changelog)

Improvements

  • doc: Improved StringScanner#rest?. [GH-49] [Patch by OKURA Masafumi]

  • jruby: Added support for joni 2.2. [GH-55]

Thanks

  • OKURA Masafumi

3.0.5 (from changelog)

Improvements

  • Added StringScanner#named_captures GitHub#44 GitHub#43 [Patch by Eriko Sugiyama] [Reported by Akim Demaille]

Thanks

  • Eriko Sugiyama

  • Akim Demaille

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

Commits

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


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 depfu bot added the depfu label May 16, 2024
Copy link

codecov bot commented May 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.702%. Comparing base (d2b8bcf) to head (5d408dd).

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #297   +/-   ##
=========================================
  Coverage   95.702%   95.702%           
=========================================
  Files          311       311           
  Lines         2955      2955           
=========================================
  Hits          2828      2828           
  Misses         127       127           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants