CVE-2012-2695

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.

Risk Information

Base Score
9.8
MODERATE
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C
EPSS Score
Exploitation Probability
0.641

Associated Vulnerability

VulnerabilityOS Platform
Vulnerabilities CVE-2012-2695 are fixed in Ruby-activerecord 3.1.6Windows
Vulnerabilities CVE-2012-2695 are fixed in Ruby-activerecord 3.2.6Windows
Vulnerabilities CVE-2012-2695 are fixed in Ruby-activerecord 3.0.14Windows
Vulnerabilities CVE-2012-2695,CVE-2012-6496 are fixed in Ruby-activerecord 2.3.15Windows
Vulnerabilities CVE-2012-2695 are fixed in Ruby-activerecord for Linux 3.1.6Linux
Vulnerabilities CVE-2012-2695 are fixed in Ruby-activerecord for Linux 3.2.6Linux
Vulnerabilities CVE-2012-2695 are fixed in Ruby-activerecord for Linux 3.0.14Linux
Vulnerabilities CVE-2012-2695,CVE-2012-6496 are fixed in Ruby-activerecord for Linux 2.3.15Linux

Patch Details

No records found

References

https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234