Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2012-2695

published

rubygem-activerecord: SQL injection when processing nested query paramaters (a different flaw than CVE-2012-2661)

Title from Red Hat VEX

Published
22 Jun 2012, 14:00:00 UTC
Updated
06 Aug 2024, 19:42:31 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
n/a — n/an/a Affected Not stated redhat

Description

The Active Record component in Ruby on Rails before 3.0.14, 3.1.x before 3.1.6, and 3.2.x before 3.2.6 does not properly implement the passing of request data to a where method in an ActiveRecord class, which allows remote attackers to conduct certain SQL injection attacks via nested query parameters that leverage improper handling of nested hashes, a related issue to CVE-2012-2661.

en · redhat · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
n/a n/a n/a (affected) redhat · cna

Weaknesses

1
  • n/a (redhat · cna)

References

6
  • openSUSE-SU-2012:0978 http://lists.opensuse.org/opensuse-security-announce/2012-08/msg00002.html vendor-advisory, x_refsource_SUSE, x_transferred Contributors: redhat (cna), CVE (adp)
  • SUSE-SU-2012:1012 http://lists.opensuse.org/opensuse-security-announce/2012-08/msg00014.html vendor-advisory, x_refsource_SUSE, x_transferred Contributors: redhat (cna), CVE (adp)
  • SUSE-SU-2012:1014 http://lists.opensuse.org/opensuse-security-announce/2012-08/msg00016.html vendor-advisory, x_refsource_SUSE, x_transferred Contributors: redhat (cna), CVE (adp)
  • openSUSE-SU-2012:1066 http://lists.opensuse.org/opensuse-updates/2012-08/msg00046.html vendor-advisory, x_refsource_SUSE, x_transferred Contributors: redhat (cna), CVE (adp)
  • RHSA-2013:0154 http://rhn.redhat.com/errata/RHSA-2013-0154.html vendor-advisory, x_refsource_REDHAT, x_transferred Contributors: redhat (cna), CVE (adp)
  • [rubyonrails-security] 20120612 Ruby on Rails SQL Injection (CVE-2012-2695) https://groups.google.com/group/rubyonrails-security/msg/aee3413fb038bf56?dmode=source&output=gplain mailing-list, x_refsource_MLIST, x_transferred Contributors: redhat (cna), CVE (adp)

Provider assertions

2

redhat · cna

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
e81ed7e3f77e3ec61768c3ecb960b7c5796c37f4da1095a29b8ffbc394eed5c8
Ingested
23 Sep 2026, 07:39:16 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected