From e2d8911fb146a4d5f1646f113f7c39d37d1e7786 Mon Sep 17 00:00:00 2001 From: Lev Pachmanov <31389480+levpachmanov@users.noreply.github.com> Date: Tue, 21 Jan 2025 12:38:41 +0200 Subject: [PATCH] Improve GHSA-76wq-xw4h-f8wj --- .../GHSA-76wq-xw4h-f8wj.json | 29 ++++++++++++++++--- 1 file changed, 25 insertions(+), 4 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 c15eccbe218c8..e0e9140cccf49 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,14 +1,16 @@ { "schema_version": "1.4.0", "id": "GHSA-76wq-xw4h-f8wj", - "modified": "2023-05-12T17:04:06Z", + "modified": "2023-11-10T05:02:57Z", "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.", - "severity": [], + "details": "The Active Record component in Ruby on Rails before 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": [ { "package": { @@ -20,7 +22,7 @@ "type": "ECOSYSTEM", "events": [ { - "introduced": "0" + "introduced": "3.0.0" }, { "fixed": "3.0.14" @@ -66,6 +68,25 @@ ] } ] + }, + { + "package": { + "ecosystem": "RubyGems", + "name": "activerecord" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0" + }, + { + "fixed": "2.3.15" + } + ] + } + ] } ], "references": [