From 0952591ae3e5f1ec55220935820b8c93ebc12276 Mon Sep 17 00:00:00 2001 From: "advisory-database[bot]" <45398580+advisory-database[bot]@users.noreply.github.com> Date: Tue, 21 Jan 2025 15:13:53 +0000 Subject: [PATCH] Publish GHSA-76wq-xw4h-f8wj --- .../GHSA-76wq-xw4h-f8wj.json | 29 +++++++++++++++++-- 1 file changed, 26 insertions(+), 3 deletions(-) diff --git a/advisories/github-reviewed/2017/10/GHSA-76wq-xw4h-f8wj/GHSA-76wq-xw4h-f8wj.json b/advisories/github-reviewed/2017/10/GHSA-76wq-xw4h-f8wj/GHSA-76wq-xw4h-f8wj.json index c15eccbe218..a772e2d8463 100644 --- a/advisories/github-reviewed/2017/10/GHSA-76wq-xw4h-f8wj/GHSA-76wq-xw4h-f8wj.json +++ b/advisories/github-reviewed/2017/10/GHSA-76wq-xw4h-f8wj/GHSA-76wq-xw4h-f8wj.json @@ -1,13 +1,13 @@ { "schema_version": "1.4.0", "id": "GHSA-76wq-xw4h-f8wj", - "modified": "2023-05-12T17:04:06Z", + "modified": "2025-01-21T15:12:23Z", "published": "2017-10-24T18:33:38Z", "aliases": [ "CVE-2012-2695" ], "summary": "activerecord vulnerable to SQL Injection", - "details": "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.", + "details": "The Active Record component in Ruby on Rails efore 2.3.15, 3.0.x 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.", "severity": [], "affected": [ { @@ -20,7 +20,7 @@ "type": "ECOSYSTEM", "events": [ { - "introduced": "0" + "introduced": "3.0.0.beta" }, { "fixed": "3.0.14" @@ -66,6 +66,25 @@ ] } ] + }, + { + "package": { + "ecosystem": "RubyGems", + "name": "activerecord" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0" + }, + { + "fixed": "2.3.15" + } + ] + } + ] } ], "references": [ @@ -73,6 +92,10 @@ "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2012-2695" }, + { + "type": "WEB", + "url": "https://github.com/rails/rails/commit/62f81f4d6b3ee40e9887ffd92ab14714bad93f18" + }, { "type": "PACKAGE", "url": "https://github.com/rails/rails"