rails_admin is vulnerable to Unsafe Reflection
88
CVE Score
High
Unsafe Reflection
RailsAdmin's JSON and XML output is not limited to fields configured for the model. The request's schema parameter is passed directly into to_json or to_xml, so names in schema[methods] or schema[include] run on every exported record, including state changing methods such as destroy, while schema[only] exposes fields excluded from the export configuration. JSON and XML responses from the index and show actions contain every record attribute regardless of the configured fields. The fix builds the JSON and XML schema from the relevant section's configured fields and rejects schema keys outside that allowlist.
Upgrade the rails_admin library to the patch version.
You are affected if you are using a version that falls within the vulnerable range.
0.0.1 - 3.3.0
Fixed in 3.3.1rails_admin is vulnerable to Unsafe Reflection in versions 0.0.1 - 3.3.0.
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.