SQL Injection The advisory has been revoked - it doesn't affect any version of package ruby-rails-2.3  (opens in a new tab)


Threat Intelligence

EPSS
4.04% (91st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU1204-RUBYRAILS23-645325
  • published10 Sept 2020
  • disclosed22 Jun 2012

Introduced: 22 Jun 2012

CVE-2012-2661  (opens in a new tab)
CWE-89  (opens in a new tab)

Amendment

The Ubuntu security team deemed this advisory irrelevant for Ubuntu:12.04.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby-rails-2.3 package and not the ruby-rails-2.3 package as distributed by Ubuntu.

The Active Record component in Ruby on Rails 3.0.x before 3.0.13, 3.1.x before 3.1.5, and 3.2.x before 3.2.4 does not properly implement the passing of request data to a where method in an ActiveRecord class, which allows remote attackers to conduct certain SQL injection attacks via nested query parameters that leverage unintended recursion, a related issue to CVE-2012-2695.