logo

CVE-2012-2661 activerecord

Package

Manager: gem
Name: activerecord
Vulnerable Version: >=3.0.0 <3.0.13 || >=3.1.0 <3.1.5 || >=3.2.0 <3.2.4

Severity

Level: Medium

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N/E:U/RL:U/RC:R

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

EPSS: 0.02508 pctl0.84794

Details

Active Record vulnerable to SQL Injection via nested query parameters The Active Record component in Ruby on Rails 3.0.x before 3.0.13, 3.1.x before 3.1.5, and 3.2.x before 3.2.4 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 unintended recursion, a related issue to CVE-2012-2695.

Metadata

Created: 2017-10-24T18:33:38Z
Modified: 2023-03-14T22:18:13Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/10/GHSA-fh39-v733-mxfr/GHSA-fh39-v733-mxfr.json
CWE IDs: ["CWE-89"]
Alternative ID: GHSA-fh39-v733-mxfr
Finding: F297
Auto approve: 1