JSON Parameter Parsing Query Bypass Affecting activerecord package, versions < 3.2.11, >= 3.2< 3.1.10, >= 3.1< 3.0.19, >= 2.4< 2.3.16


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.97% (89th 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 Learn

Learn about JSON Parameter Parsing Query Bypass vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUBY-ACTIVERECORD-20046
  • published7 Jan 2013
  • disclosed7 Jan 2013
  • creditUnknown

Introduced: 7 Jan 2013

CVE-2013-0155  (opens in a new tab)
CWE-284  (opens in a new tab)

How to fix?

Upgrade activerecord to versions 3.2.11, 3.1.10, 3.0.19, 2.3.16 or higher.

Overview

ActiveRecord is the Object-Relational Mapping (ORM) that comes out-of-the-box with Rails. It plays the role of Model in the MVC architecture employed by Rails.

Affected versions of this package are vulenrable to JSON Parameter Parsing Query Bypass due to an error with the way it handles parameters combined with an error during the parsing of the JSON parameters. This may allow a remote attacker to bypass restrictions and issue unexpected database queries with IS NULL or empty WHERE clauses, and forcing the query to unexpectedly check for NULL or eliminate a WHERE clause.

CVSS Scores

version 3.1