SQL Injection Affecting rails package, versions <3.0.14 >=3.1.0, <3.1.6 >=3.2.0, <3.2.6


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    5.95% (94th 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 ID SNYK-RUBY-RAILS-472697
  • published 10 Oct 2019
  • disclosed 22 Jun 2012
  • credit unknown

How to fix?

Upgrade rails to version 3.0.14, 3.1.6, 3.2.6 or higher.

Overview

rails is an opensource MVC web framework.

Affected versions of this package are vulnerable to SQL Injection. The Active Record component 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 improper handling of nested hashes, a related issue to CVE-2012-2661.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
7.3 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    Low
  • Integrity (I)
    Low
  • Availability (A)
    Low
Expand this section

NVD

7.3 high