{ "canonical_id": "rails--CVE-2012-6496", "system_id": "rails", "display_name": "Ruby on Rails", "category": "frameworks", "advisory_mode": "core", "title": "CVE-2012-6496", "summary": "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.", "published_at": "2013-01-04T04:46:02.947", "updated_at": "2025-04-11T00:51:21.963", "severity": "high", "cvss_score": 7.5, "exploit_status": "unknown", "source_confidence": "ecosystem-authority", "official_source_url": "http://blog.phusion.nl/2013/01/03/rails-sql-injection-vulnerability-hold-your-horses-here-are-the-facts/", "secondary_source_urls": [ "http://rhn.redhat.com/errata/RHSA-2013-0154.html", "http://rhn.redhat.com/errata/RHSA-2013-0155.html", "http://rhn.redhat.com/errata/RHSA-2013-0220.html", "http://rhn.redhat.com/errata/RHSA-2013-0544.html", "http://security.gentoo.org/glsa/glsa-201401-22.xml", "http://www.securityfocus.com/bid/57084", "https://bugzilla.redhat.com/show_bug.cgi?id=889649", "https://groups.google.com/group/rubyonrails-security/msg/23daa048baf28b64?dmode=source&output=gplain" ], "aliases": [ "CVE-2012-6496" ], "cve_ids": [ "CVE-2012-6496" ], "ghsa_ids": [], "osv_ids": [], "affected_versions": [], "fixed_versions": [], "package_name": null, "render_markdown": false, "case_path": null, "secure_code_topics": [ "xss-output-encoding", "file-upload-validation", "authz-server-side-recheck" ], "status": "triage", "triage_reasons": [ "missing affected/fixed version details" ], "verification_status": "triage-manual", "verification_mode": "synthetic", "last_verified_at": null, "last_run_id": null, "evidence_bundle": null, "historical_status": null, "latest_status": null, "browser_evidence": { "required": false, "present": false, "refs": [] }, "repro_profile_id": "xss-generic", "artifact_mode": "synthetic", "blocked_reason": null, "metadata": { "source_names": [ "NVD Ruby on Rails" ], "source_kinds": [ "nvd-search" ], "candidate_count": 1 } }