CVE-2020-8164
mediumpriority · track · 32EPSS 0.049 · 92 %ileDEEURUUSEPSS · scored 2026-10-27
A deserialization of untrusted data vulnerability exists in rails < 5.2.4.3, rails < 6.0.3.1 which can allow an attacker to supply information can be inadvertently leaked fromStrong Parameters.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 5–7.5
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (23)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2023-1093Ruby on Rails: Mehrere SchwachstellenDeutsch2020-05-18csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann mehrere Schwachstellen in Ruby on Rails ausnutzen, um Sicherheitsvorkehrungen zu umgehen, Informationen offenzulegen, beliebigen Programmcode auszuführen oder Dateien zu manipulieren.
- GHSA-8727-m6gj-mc37Possible Strong Parameters Bypass in ActionPack2020-05-26ghsa · osvUS
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 Impact ------ 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 } end ``` Note the mistaken use of `each` in the `clean_up_params` method in the above example. Workarounds ----------- Do not use the return values of `each`, `each_value`, or `each_pair` in your application.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (36)
External citations — patches, advisories, analysis.
- http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00089.htmlcnnvd
- http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00093.htmlcnnvd
- http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00107.htmlcnnvd
- http://www.nsfocus.net/vulndb/50219cnnvd
- https://groups.google.com/g/rubyonrails-security/c/f6ioe4sdpbYcnnvd
- https://hackerone.com/reports/292797cnnvd
- https://lists.debian.org/debian-lts-announce/2020/06/msg00022.htmlcnnvd
- https://lists.debian.org/debian-lts-announce/2020/07/msg00013.htmlcnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan