Skip to content
Fencer Intel
medium 6.4

CVE-2013-0155 json

Active Record allows bypassing of database-query restrictions

published 13y ago modified 4mo ago also GHSA-gppp-5xc5-wfpx , EUVD-2017-0242

cvss
6.4
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
8.2%
EPSS 8.2% chance of exploitation in 30 days, percentile 94%
public exploits
0
none known

Summary

Ruby on Rails 3.0.x before 3.0.19, 3.1.x before 3.1.10, and 3.2.x before 3.2.11 does not properly consider differences in parameter handling between the Active Record component and the JSON implementation, which allows remote attackers to bypass intended database-query restrictions and perform NULL checks or trigger missing WHERE clauses via a crafted request, as demonstrated by certain "[nil]" values, a related issue to CVE-2012-2660 and CVE-2012-2694.

Patch / fix

  • rubygems activerecord 3.0.19, 3.1.10, 3.2.11
  • rubyonrails rails 3.2.11
  • rubyonrails ruby_on_rails 3.0.19, 3.1.10
  • rails Debian 14, Debian 13, Debian 12 2.3.14.1

debian advisories DEBIAN-CVE-2013-0155

  • php openshift 1 5.3.3-22.el6
  • graphviz openshift 1 2.26.0-10.el6
  • php-imap openshift 1 5.3.3-22.el6
  • php-bcmath openshift 1 5.3.3-22.el6
  • graphviz-gd openshift 1 2.26.0-10.el6
  • php-process openshift 1 5.3.3-22.el6
  • php-mbstring openshift 1 5.3.3-22.el6
  • ruby193-ruby openshift 1 1.9.3.327-25.el6

red hat advisories RHSA-2013:0582

Is CVE-2013-0155 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2013-0155 updated cvss 6.4

rubygem-activerecord: Unsafe Query Generation Risk in Ruby on Rails

  • Red Hat CloudForms Cloud Engine for RHEL 6 Server rubygem-actionpack 3.0.10-11.el6cf, rubygem-activerecord 3.0.10-8.el6cf, rubygem-activesupport 3.0.10-5.el6cf Red Hat CloudForms System Engine for RHEL 6 Server rubygem-actionpack 3.0.10-11.el6cf, rubygem-activerecord 3.0.10-8.el6cf, rubygem-activesupport 3.0.10-5.el6cf
    fixed: vendor fix RHSA-2013:0155
  • Red Hat OpenShift Enterprise Infrastructure graphviz 2.26.0-10.el6, graphviz-gd 2.26.0-10.el6, rubygem-bson 1.8.1-2.el6op, graphviz-ruby 2.26.0-10.el6, rubygem-mongo 1.8.1-2.el6op, ruby193-ruby 1.9.3.327-25.el6, +25 more Red Hat OpenShift Enterprise JBoss EAP add-on openshift-origin-cartridge-jbosseap-6.0 1.0.4-1.el6op Red Hat OpenShift Enterprise Node php 5.3.3-22.el6, php-imap 5.3.3-22.el6, php-bcmath 5.3.3-22.el6, php-process 5.3.3-22.el6, php-mbstring 5.3.3-22.el6, rubygem-bson 1.8.1-2.el6op, +32 more
    fixed: vendor fix RHSA-2013:0582
  • Red Hat Subscription Asset Manager for RHEL 6 Server rubygem-actionpack 3.0.10-11.el6cf, rubygem-activerecord 3.0.10-8.el6cf, rubygem-activesupport 3.0.10-5.el6cf
    fixed: vendor fix RHSA-2013:0154

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

8.25% chance of exploitation in the next 30 days, higher than 94% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 2.0 6.4 AV:N/AC:L/Au:N/C:P/I:P/A:N

Affected packages

ecosystem package affected fixed in
rubygems activerecord
>=3.0.0, <3.0.19
>=3.1.0, <3.1.10
>=3.2.0, <3.2.11
3.0.19
3.1.10
3.2.11

Classification

Weakness
  • CWE-264 Permissions, Privileges, and Access Controls
  • CWE-284 Improper Access Control
Technology feeds

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.