Rapid7 Vulnerability & Exploit Database

Ruby on Rails: Information Exposure Through an Error Message (CVE-2021-22885)

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

Ruby on Rails: Information Exposure Through an Error Message (CVE-2021-22885)

Severity
5
CVSS
(AV:N/AC:L/Au:N/C:P/I:N/A:N)
Published
05/27/2021
Created
06/14/2021
Added
06/14/2021
Modified
03/07/2024

Description

A possible information disclosure / unintended method execution vulnerability in Action Pack >= 2.0.0 when using the `redirect_to` or `polymorphic_url`helper with untrusted user input.

Solution(s)

  • ruby-on-rails-upgrade-5_2_4_6
  • ruby-on-rails-upgrade-6_0_3_7
  • ruby-on-rails-upgrade-6_1_3_1

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;