dep: bump rails from 7.0.4 to 7.0.4.1
Bumps rails from 7.0.4 to 7.0.4.1.
Release notes
Sourced from rails's releases.
v7.0.4.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
... (truncated)
Commits
-
23e0345
Version 7.0.4.1 -
d7aba06
Make sanitize_as_sql_comment more strict -
8d82687
Avoid regex backtracking on If-None-Match header -
2164d4f
Avoid regex backtracking in Inflector.underscore -
cd46b0e
Use string#split instead of regex for domain parts -
e50e26d
Fix sec issue with _url_host_allowed? -
82bcdc0
Added integer width check to PostgreSQL::Quoting - See full diff in compare view
Dependabot commands
You can trigger Dependabot actions by commenting on this MR
-
@dependabot-bot rebase
will rebase this MR -
@dependabot-bot recreate
will recreate this MR rewriting all the manual changes and resolving conflicts