actionpack is vulnerable to Mass Assignment
75
CVE Score
High
Mass Assignment
Parameters#each_key in actionpack returns the internal parameter hash when it is called with a block, instead of the Parameters instance. That hash does not implement permitted?, so Active Model mass assignment accepts it and can set attributes the application did not permit, such as an authorization flag. Rails itself does not pass this return value into mass assignment. The fix yields each key and returns the Parameters instance, which mass assignment rejects unless it is permitted.
Upgrade the actionpack library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and the application passes the return value of Parameters#each_key to mass assignment.
0.9.0 - 8.0.5.1
Fixed in 8.0.5.28.1.0 - 8.1.4
Fixed in 8.1.4.1actionpack is vulnerable to Mass Assignment in versions 0.9.0 - 8.0.5.1 and 8.1.0 - 8.1.4.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.