ADVISORIES

Vulnerability

CVE-2012-6496

SQL injection vulnerability in the Active Record component in Ruby on Rails before 3.0.18, 3.1.x before 3.1.9, and 3.2.x before 3.2.10 allows remote attackers to execute arbitrary SQL commands via a crafted request that leverages incorrect behavior of dynamic finders in applications that can use unexpected data types in certain find_by_ method calls.

5 advisories report this vulnerability, across 4 ecosystems.

Advisories

  • DEBIAN-CVE-2012-6496

    SQL injection vulnerability in the Active Record component in Ruby on Rails before 3.0.18, 3.1.x before 3.1.9, and 3.2.x before 3.2.10 allows remote attackers to execute arbitrary SQL commands via a crafted request that…

    CVE-2012-6496 Debian Updated 18 November 2026
  • DSA-2597-1

    rails - input validation error

    CVE-2012-6496CVE-2012-6497 Debian Updated 20 November 2026
  • GHSA-gh2w-j7cx-2664

    Active Record contains SQL Injection

    High CVE-2012-6496 RubyGems Updated 21 January 2025
  • RHSA-2013:0220

    Red Hat Security Advisory: Red Hat OpenShift Enterprise 1.1 update

    CVE-2012-5658CVE-2012-6072CVE-2012-6073CVE-2012-6074 Red Hat Updated 28 June 2026
  • UBUNTU-CVE-2012-6496

    SQL injection vulnerability in the Active Record component in Ruby on Rails before 3.0.18, 3.1.x before 3.1.9, and 3.2.x before 3.2.10 allows remote attackers to execute arbitrary SQL commands via a crafted request that…

    CVE-2012-6496 Ubuntu Updated 16 July 2025

References