Loading advisory.
Loading advisory.
Possible Strong Parameters Bypass in ActionPack
There is a strong parameters bypass vector in ActionPack.
Published 2020-05-26 15:09 UTC · Modified 2024-08-04 09:48 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| actionpack | RubyGems | >= 5.0.0, < 5.2.4.3 >= 6.0.0, < 6.0.3.1 versions 5.0.0, 5.0.0.1, 5.0.1, 5.0.1.rc1, 5.0.1.rc2, 5.0.2, 5.0.2.rc1, 5.0.3, 5.0.4, 5.0.4.rc1, 5.0.5, 5.0.5.rc1, 5.0.5.rc2, 5.0.6, 5.0.6.rc1, 5.0.7, 5.0.7.1, 5.0.7.2, 5.1.0, 5.1.0.beta1 and 45 more | 5.2.4.3, 6.0.3.1 | gem install actionpack -v 5.2.4.3gem install actionpack -v 6.0.3.1 |
There is a strong parameters bypass vector in ActionPack.
Versions Affected: rails <= 6.0.3 Not affected: rails < 5.0.0 Fixed Versions: rails >= 5.2.4.3, rails >= 6.0.3.1
In some cases user supplied information can be inadvertently leaked from
Strong Parameters. Specifically the return value of each, or each_value,
or each_pair will return the underlying "untrusted" hash of data that was
read from the parameters. Applications that use this return value may be
inadvertently use untrusted user input.
Impacted code will look something like this:
def update
# Attacker has included the parameter: `{ is_admin: true }`
User.update(clean_up_params)
end
def clean_up_params
params.each { |k, v| SomeModel.check(v) if k == :name }
endNote the mistaken use of each in the clean_up_params method in the above
example.
Do not use the return values of each, each_value, or each_pair in your
application.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.049 on 2026-11-24 to 0.047 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.049 | first score | v2026.06.15 |
| 2026-11-26 | 0.047 | 0.049 | v2026.06.15 |