Ruby on Rails JSON Parser Crafted Payload YAML Subset Decoding Remote Code Execution
Ruby on Rails contains a flaw in the JSON parser. Rails supports multiple
parsing backends, one of which involves transforming JSON into YAML via the
YAML parser. With a specially crafted payload, an attacker can subvert the
backend into decoding a subset of YAML. This may allow a remote attacker to
bypass restrictions, allowing them to bypass authentication systems, inject
arbitrary SQL, inject and execute arbitrary code, or perform a DoS attack on
a Rails application.
Am I vulnerable?
The constraints below list the versions that this vulnerability is patched in, and versions that are unaffected. If a patch is ready but unrealeased, then it is pending.
Or, you can just let us figure it out for you! Appcanary continously monitor your installed packages, and tell you if any of them are vulnerable.Sign up for monitoring
Affected package information
|Package||Patched in||Unaffected in|