console-browsers
console-browsers copied to clipboard
[Security] Bump activesupport from 5.2.4.1 to 6.0.4
Bumps activesupport from 5.2.4.1 to 6.0.4. This update includes security fixes.
Vulnerabilities fixed
Sourced from The Ruby Advisory Database.
Potentially unintended unmarshalling of user-provided objects in MemCacheStore and RedisCacheStore There is potentially unexpected behaviour in the MemCacheStore and RedisCacheStore where, when untrusted user input is written to the cache store using the
raw: true
parameter, re-reading the result from the cache can evaluate the user input as a Marshalled object instead of plain text. Vulnerable code looks like:data = cache.fetch("demo", raw: true) { untrusted_string }
Versions Affected: rails < 5.2.5, rails < 6.0.4 Not affected: Applications not using MemCacheStore or RedisCacheStore. Applications that do not use the
raw
option when storing untrusted user input. Fixed Versions: rails >= 5.2.4.3, rails >= 6.0.3.1Impact
Unmarshalling of untrusted user input can have impact up to and including RCE. At a minimum, this vulnerability allows an attacker to inject untrusted Ruby objects into a web application.
In addition to upgrading to the latest versions of Rails, developers should ensure that whenever they are calling
Rails.cache.fetch
they are using consistent values of theraw
parameter for both
... (truncated)
Patched versions: ~> 5.2.4.3; >= 6.0.3.1 Unaffected versions: none
Sourced from The Ruby Advisory Database.
Potentially unintended unmarshalling of user-provided objects in MemCacheStore and RedisCacheStore There is potentially unexpected behaviour in the MemCacheStore and RedisCacheStore where, when untrusted user input is written to the cache store using the
raw: true
parameter, re-reading the result from the cache can evaluate the user input as a Marshalled object instead of plain text. Vulnerable code looks like:data = cache.fetch("demo", raw: true) { untrusted_string }
Versions Affected: rails < 5.2.5, rails < 6.0.4 Not affected: Applications not using MemCacheStore or RedisCacheStore. Applications that do not use the
raw
option when storing untrusted user input. Fixed Versions: rails >= 5.2.4.3, rails >= 6.0.3.1Impact
Unmarshalling of untrusted user input can have impact up to and including RCE. At a minimum, this vulnerability allows an attacker to inject untrusted Ruby objects into a web application.
In addition to upgrading to the latest versions of Rails, developers should ensure that whenever they are calling
Rails.cache.fetch
they are using consistent values of theraw
parameter for both
... (truncated)
Patched versions: ~> 5.2.4, >= 5.2.4.3; >= 6.0.3.1 Unaffected versions: none
Release notes
Sourced from activesupport's releases.
6.0.4
Active Support
Fixed issue in
ActiveSupport::Cache::RedisCacheStore
not passing options toread_multi
causingfetch_multi
to not work properly.Rajesh Sharma
with_options
copies its options hash again to avoid leaking mutations.Fixes #39343.
Eugene Kenny
Active Model
- No changes.
Active Record
Only warn about negative enums if a positive form that would cause conflicts exists.
Fixes #39065.
Alex Ghiculescu
Allow the inverse of a
has_one
association that was previously autosaved to be loaded.Fixes #34255.
Steven Weber
Reset statement cache for association if
table_name
is changed.Fixes #36453.
Ryuta Kamizono
Type cast extra select for eager loading.
Ryuta Kamizono
Prevent collection associations from being autosaved multiple times.
... (truncated)
Commits
6e721d7
Preparing for 6.0.4 release98a0a12
Merge branch '6-0-sec' into 6-0-stablec04aff6
Preparing for 6.0.3.7 release59b4566
update changelogedc7064
Revert "Merge pull request #41931 from MarcelEeken/deep-merge-changing-origin...9317395
Merge pull request #41931 from MarcelEeken/deep-merge-changing-original-hash2bf5bf5
Merge branch 'v6.0.3.5+mimemagic-removal' into 6-0-stable0073c7b
v6.0.3.61a7580f
Mention that speed boost on Hash also changes behaviour55281b5
Merge branch '6-0-sec' into 6-0-stable- Additional commits viewable in compare view
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 -
@dependabot badge me
will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot dashboard:
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)