7.5
CWE
284 476
Advisory Published
Updated

CVE-2016-6317: Null Pointer Dereference

First published: Wed Sep 07 2016(Updated: )

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.

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
Ruby on Rails=4.2.0
Ruby on Rails=4.2.0-beta1
Ruby on Rails=4.2.0-beta2
Ruby on Rails=4.2.0-beta3
Ruby on Rails=4.2.0-beta4
Ruby on Rails=4.2.0-rc1
Ruby on Rails=4.2.0-rc2
Ruby on Rails=4.2.0-rc3
Ruby on Rails=4.2.1
Ruby on Rails=4.2.1-rc1
Ruby on Rails=4.2.1-rc2
Ruby on Rails=4.2.1-rc3
Ruby on Rails=4.2.1-rc4
Ruby on Rails=4.2.2
Ruby on Rails=4.2.3
Ruby on Rails=4.2.3-rc1
Ruby on Rails=4.2.4
Ruby on Rails=4.2.4-rc1
Ruby on Rails=4.2.5
Ruby on Rails=4.2.5-rc1
Ruby on Rails=4.2.5-rc2
Ruby on Rails=4.2.5.1
Ruby on Rails=4.2.5.2
Ruby on Rails=4.2.6
Ruby on Rails=4.2.6-rc1
Ruby on Rails=4.2.7
Ruby on Rails=4.2.7-rc1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2016-6317?

    CVE-2016-6317 is classified as a medium severity vulnerability.

  • How do I fix CVE-2016-6317?

    To fix CVE-2016-6317, upgrade Ruby on Rails to version 4.2.7.1 or later.

  • Who is affected by CVE-2016-6317?

    CVE-2016-6317 affects Ruby on Rails versions 4.2.0 through 4.2.7.

  • What type of vulnerability is CVE-2016-6317?

    CVE-2016-6317 is a SQL injection vulnerability due to improper parameter handling.

  • Can CVE-2016-6317 allow unauthorized access?

    Yes, CVE-2016-6317 can allow remote attackers to bypass database-query restrictions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203