SQL Injection Affecting rubygem-activerecord package, versions *


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
4.58% (92nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL10-RUBYGEMACTIVERECORD-9850206
  • published28 Apr 2025
  • disclosed21 Dec 2012

Introduced: 21 Dec 2012

CVE-2012-6496  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:10 rubygem-activerecord.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rubygem-activerecord package and not the rubygem-activerecord package as distributed by RHEL. See How to fix? for RHEL:10 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1