Skip to content
Noroxi
CVE-2016-6317· NVD / CVE Program· CNA redhat

Action Record in Ruby on Rails 4.2.x before 4.2.7.1 does not properly consider differences in parameter handling between the Active Record c

Action Record in Ruby on Rails 4.2.x before 4.2.7.1 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, CVE-2012-2694, and CVE-2013-0155.

HighCVSS 7.5 · v3.0—Proof of concept Fix available
Published
Sep 7, 2016
Updated
Jun 16, 2026
EPSS
3.9% · 90th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

31

Monitor

Low priority for now.

CVSS
30 / 40 · 7.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
1 / 30 · 3.9%

Affected systems

VendorProduct
rubyonrailsrails

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • rubyonrails rails4.2.0
  • rubyonrails rails4.2.1
  • rubyonrails rails4.2.2
  • rubyonrails rails4.2.3
  • rubyonrails rails4.2.4
  • rubyonrails rails4.2.5
  • rubyonrails rails4.2.5.1
  • rubyonrails rails4.2.5.2
  • rubyonrails rails4.2.6
  • rubyonrails rails4.2.7

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12railsbefore 2:4.2.7.1-12:4.2.7.1-1
Red Hat:rhel_software_collections:2::el7rh-ror42-rubygem-actionpackbefore 1:4.2.6-3.el71:4.2.6-3.el7
Red Hat:rhel_software_collections:2::el7rh-ror42-rubygem-actionpack-docbefore 1:4.2.6-3.el71:4.2.6-3.el7
Red Hat:rhel_software_collections:2::el7rh-ror42-rubygem-actionviewbefore 0:4.2.6-3.el70:4.2.6-3.el7
Red Hat:rhel_software_collections:2::el7rh-ror42-rubygem-actionview-docbefore 0:4.2.6-3.el70:4.2.6-3.el7
Red Hat:rhel_software_collections:2::el7rh-ror42-rubygem-activerecordbefore 1:4.2.6-3.el71:4.2.6-3.el7
Red Hat:rhel_software_collections:2::el7rh-ror42-rubygem-activerecord-docbefore 1:4.2.6-3.el71:4.2.6-3.el7
RubyGemsactiverecordfrom 4.2.0 · before 4.2.7.14.2.7.1
SUSE:OpenStack Cloud 6rubygem-actionmailer-4_2before 4.2.9-3.3.14.2.9-3.3.1
SUSE:OpenStack Cloud 6rubygem-actionpack-4_2before 4.2.9-7.3.14.2.9-7.3.1
SUSE:OpenStack Cloud 6rubygem-actionview-4_2before 4.2.9-9.3.14.2.9-9.3.1
SUSE:OpenStack Cloud 6rubygem-activejob-4_2before 4.2.9-3.3.14.2.9-3.3.1
SUSE:OpenStack Cloud 6rubygem-activemodel-4_2before 4.2.9-6.3.14.2.9-6.3.1
SUSE:OpenStack Cloud 6rubygem-activerecord-4_2before 4.2.9-6.3.14.2.9-6.3.1
SUSE:OpenStack Cloud 6rubygem-activesupport-4_2before 4.2.9-7.3.14.2.9-7.3.1
SUSE:OpenStack Cloud 6rubygem-rails-4_2before 4.2.9-3.3.14.2.9-3.3.1
SUSE:OpenStack Cloud 6rubygem-rails-html-sanitizerbefore 1.0.3-8.3.11.0.3-8.3.1
SUSE:OpenStack Cloud 6rubygem-railties-4_2before 4.2.9-3.3.14.2.9-3.3.1

Other highest-scoring records for the same primary product.

  • CVE-2019-5418There is a File Content Disclosure vulnerability in Action View <5.2.2.1, <5.1.6.2, <5.0.7.2, <4.2.11.1 and v3 where specially crafted accepKEV
    90Now
  • CVE-2016-0752Directory traversal vulnerability in Action View in Ruby on Rails before 3.2.22.1, 4.0.x and 4.1.x before 4.1.14.1, 4.2.x before 4.2.5.1, anKEV
    89Now
  • CVE-2019-5420A remote code execution vulnerability in development mode Rails <5.2.2.1, <6.0.0.beta3 can allow an attacker to guess the automatically gene
    66This week
  • CVE-2020-8163The is a code injection vulnerability in versions of Rails prior to 5.0.1 that wouldallow an attacker who controlled the `locals` argument o
    60This week
  • CVE-2013-0156active_support/core_ext/hash/conversions.rb in Ruby on Rails before 2.3.15, 3.0.x before 3.0.19, 3.1.x before 3.1.10, and 3.2.x before 3.2.1
    60This week
  • CVE-2013-0333lib/active_support/json/backends/yaml.rb in Ruby on Rails 2.3.x before 2.3.16 and 3.0.x before 3.0.20 does not properly convert JSON data to
    59Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:rails2:4.2.7.1-1 · Debian:12Package registry (OSV)
red hat:rh-ror42-rubygem-actionpack1:4.2.6-3.el7 · Red Hat:rhel_software_collections:2::el7Package registry (OSV)
red hat:rh-ror42-rubygem-actionpack-doc1:4.2.6-3.el7 · Red Hat:rhel_software_collections:2::el7Package registry (OSV)
red hat:rh-ror42-rubygem-actionview0:4.2.6-3.el7 · Red Hat:rhel_software_collections:2::el7Package registry (OSV)
red hat:rh-ror42-rubygem-actionview-doc0:4.2.6-3.el7 · Red Hat:rhel_software_collections:2::el7Package registry (OSV)
red hat:rh-ror42-rubygem-activerecord1:4.2.6-3.el7 · Red Hat:rhel_software_collections:2::el7Package registry (OSV)
red hat:rh-ror42-rubygem-activerecord-doc1:4.2.6-3.el7 · Red Hat:rhel_software_collections:2::el7Package registry (OSV)
RubyGems:activerecord4.2.7.1Package registry (OSV)
suse:rubygem-actionmailer-4_24.2.9-3.3.1 · SUSE:OpenStack Cloud 6Package registry (OSV)
suse:rubygem-actionpack-4_24.2.9-7.3.1 · SUSE:OpenStack Cloud 6Package registry (OSV)
suse:rubygem-actionview-4_24.2.9-9.3.1 · SUSE:OpenStack Cloud 6Package registry (OSV)
suse:rubygem-activejob-4_24.2.9-3.3.1 · SUSE:OpenStack Cloud 6Package registry (OSV)
suse:rubygem-activemodel-4_24.2.9-6.3.1 · SUSE:OpenStack Cloud 6Package registry (OSV)
suse:rubygem-activerecord-4_24.2.9-6.3.1 · SUSE:OpenStack Cloud 6Package registry (OSV)
suse:rubygem-activesupport-4_24.2.9-7.3.1 · SUSE:OpenStack Cloud 6Package registry (OSV)
suse:rubygem-rails-4_24.2.9-3.3.1 · SUSE:OpenStack Cloud 6Package registry (OSV)
suse:rubygem-rails-html-sanitizer1.0.3-8.3.1 · SUSE:OpenStack Cloud 6Package registry (OSV)
suse:rubygem-railties-4_24.2.9-3.3.1 · SUSE:OpenStack Cloud 6Package registry (OSV)

Exploit status

Proof of concept available

A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.

Evidence

  • Proof-of-concept repository on GitHub ×1

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Proof-of-concept repository on GitHubstars:02017-09-26

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

  1. Published
  2. First PoC+383 d
  3. TodaySep 30, 2026+3675 d
EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

The product’s vendor appears in a public program. Matched by name; verify the scope text in the program.

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
none
Integrity
high · data or configuration can be modified
Availability
none
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
None
Integrity impact
High
Availability impact
None

CVSS vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

nvd-primary

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records