Bump activerecord from 5.1.4 to 6.1.7.1 #54

Open
dependabot[bot] wants to merge 1 commits from dependabot/bundler/activerecord-6.1.7.1 into master
dependabot[bot] commented 2023-01-19 16:38:56 -05:00 (Migrated from github.com)

Bumps activerecord from 5.1.4 to 6.1.7.1.

Release notes

Sourced from activerecord's releases.

v6.1.7.1

Active Support

  • Avoid regex backtracking in Inflector.underscore

    [CVE-2023-22796]

Active Model

  • No changes.

Active Record

  • Make sanitize_as_sql_comment more strict

    Though this method was likely never meant to take user input, it was attempting sanitization. That sanitization could be bypassed with carefully crafted input.

    This commit makes the sanitization more robust by replacing any occurrances of "/" or "/" with "/ " or " /". It also performs a first pass to remove one surrounding comment to avoid compatibility issues for users relying on the existing removal.

    This also clarifies in the documentation of annotate that it should not be provided user input.

    [CVE-2023-22794]

  • Added integer width check to PostgreSQL::Quoting

    Given a value outside the range for a 64bit signed integer type PostgreSQL will treat the column type as numeric. Comparing integer values against numeric values can result in a slow sequential scan.

    This behavior is configurable via ActiveRecord::Base.raise_int_wider_than_64bit which defaults to true.

    [CVE-2022-44566]

Action View

  • No changes.

... (truncated)

Commits
  • c443466 Version 6.1.7.1
  • 3db858c Make sanitize_as_sql_comment more strict
  • 4f44aa9 Added integer width check to PostgreSQL::Quoting
  • 9ab3375 Version 6.1.7
  • e74d6ee Merge pull request #45872 from the-spectator/correct_hwia_encoding
  • 3da5f09 Fix tests after cherry-pick of #45773
  • aab3695 Don't handle this change for legacy_connection_handling
  • b2e8fb8 Merge pull request #45773 from eileencodes/only-setup-shared-pools-if-we-have...
  • 571b4d5 Merge pull request #45593 from skipkayhil/fix-6-1-compat
  • efc58ab Remove active_record.yaml initializers
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [activerecord](https://github.com/rails/rails) from 5.1.4 to 6.1.7.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/rails/rails/releases">activerecord's releases</a>.</em></p> <blockquote> <h2>v6.1.7.1</h2> <h2>Active Support</h2> <ul> <li> <p>Avoid regex backtracking in Inflector.underscore</p> <p>[CVE-2023-22796]</p> </li> </ul> <h2>Active Model</h2> <ul> <li>No changes.</li> </ul> <h2>Active Record</h2> <ul> <li> <p>Make sanitize_as_sql_comment more strict</p> <p>Though this method was likely never meant to take user input, it was attempting sanitization. That sanitization could be bypassed with carefully crafted input.</p> <p>This commit makes the sanitization more robust by replacing any occurrances of &quot;/<em>&quot; or &quot;</em>/&quot; with &quot;/ <em>&quot; or &quot;</em> /&quot;. It also performs a first pass to remove one surrounding comment to avoid compatibility issues for users relying on the existing removal.</p> <p>This also clarifies in the documentation of annotate that it should not be provided user input.</p> <p>[CVE-2023-22794]</p> </li> <li> <p>Added integer width check to PostgreSQL::Quoting</p> <p>Given a value outside the range for a 64bit signed integer type PostgreSQL will treat the column type as numeric. Comparing integer values against numeric values can result in a slow sequential scan.</p> <p>This behavior is configurable via ActiveRecord::Base.raise_int_wider_than_64bit which defaults to true.</p> <p>[CVE-2022-44566]</p> </li> </ul> <h2>Action View</h2> <ul> <li>No changes.</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/rails/rails/commit/c443466a99f8ed951605fb4993a01de5e41349a4"><code>c443466</code></a> Version 6.1.7.1</li> <li><a href="https://github.com/rails/rails/commit/3db858cbc99e332e6f209d50be2b7420211f4c33"><code>3db858c</code></a> Make sanitize_as_sql_comment more strict</li> <li><a href="https://github.com/rails/rails/commit/4f44aa9d514e701ada92b5cf08beccf566eeaebf"><code>4f44aa9</code></a> Added integer width check to PostgreSQL::Quoting</li> <li><a href="https://github.com/rails/rails/commit/9ab33753b6bab1809fc73d35b98a5c1d0c96ba1b"><code>9ab3375</code></a> Version 6.1.7</li> <li><a href="https://github.com/rails/rails/commit/e74d6ee33dcbd799c1e845f63876bd8d3fe29b05"><code>e74d6ee</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rails/rails/issues/45872">#45872</a> from the-spectator/correct_hwia_encoding</li> <li><a href="https://github.com/rails/rails/commit/3da5f09d0e0f319e2a345e0e16d0e1e8bf63231c"><code>3da5f09</code></a> Fix tests after cherry-pick of <a href="https://github-redirect.dependabot.com/rails/rails/issues/45773">#45773</a></li> <li><a href="https://github.com/rails/rails/commit/aab369517e10194c27cfa2f9d49cd1cdeaa5c03a"><code>aab3695</code></a> Don't handle this change for legacy_connection_handling</li> <li><a href="https://github.com/rails/rails/commit/b2e8fb8c9ba9ab2dd3200158135a5c8c2c8a96fd"><code>b2e8fb8</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rails/rails/issues/45773">#45773</a> from eileencodes/only-setup-shared-pools-if-we-have...</li> <li><a href="https://github.com/rails/rails/commit/571b4d5fb9cd254db79e93370d7b208b6d0fd1e4"><code>571b4d5</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rails/rails/issues/45593">#45593</a> from skipkayhil/fix-6-1-compat</li> <li><a href="https://github.com/rails/rails/commit/efc58abc8860a4901393e69361a216203cb21043"><code>efc58ab</code></a> Remove active_record.yaml initializers</li> <li>Additional commits viewable in <a href="https://github.com/rails/rails/compare/v5.1.4...v6.1.7.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=activerecord&package-manager=bundler&previous-version=5.1.4&new-version=6.1.7.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/atomaka/link-share/network/alerts). </details>
This pull request can be merged automatically.
You are not authorized to merge this pull request.
You can also view command line instructions.

Step 1:

From your project repository, check out a new branch and test the changes.
git checkout -b dependabot/bundler/activerecord-6.1.7.1 master
git pull origin dependabot/bundler/activerecord-6.1.7.1

Step 2:

Merge the changes and update on Gitea.
git checkout master
git merge --no-ff dependabot/bundler/activerecord-6.1.7.1
git push origin master
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Reference: atomaka/link-share#54
No description provided.