From b7ad2e67802e974e1fedc94d1994e442f01e49af 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:28:10 +0000 Subject: [PATCH] Publish GHSA-gh2w-j7cx-2664 --- .../GHSA-gh2w-j7cx-2664.json | 36 +++++++++++++++++-- 1 file changed, 33 insertions(+), 3 deletions(-) diff --git a/advisories/github-reviewed/2017/10/GHSA-gh2w-j7cx-2664/GHSA-gh2w-j7cx-2664.json b/advisories/github-reviewed/2017/10/GHSA-gh2w-j7cx-2664/GHSA-gh2w-j7cx-2664.json index b33ebbcc5aa..de0da3a761b 100644 --- a/advisories/github-reviewed/2017/10/GHSA-gh2w-j7cx-2664/GHSA-gh2w-j7cx-2664.json +++ b/advisories/github-reviewed/2017/10/GHSA-gh2w-j7cx-2664/GHSA-gh2w-j7cx-2664.json @@ -1,13 +1,13 @@ { "schema_version": "1.4.0", "id": "GHSA-gh2w-j7cx-2664", - "modified": "2023-03-14T19:07:57Z", + "modified": "2025-01-21T15:26:26Z", "published": "2017-10-24T18:33:37Z", "aliases": [ "CVE-2012-6496" ], "summary": "Active Record contains SQL Injection", - "details": "SQL injection vulnerability in the Active Record component in Ruby on Rails before 3.0.18, 3.1.x before 3.1.9, and 3.2.x before 3.2.10 allows remote attackers to execute arbitrary SQL commands via a crafted request that leverages incorrect behavior of dynamic finders in applications that can use unexpected data types in certain find_by_ method calls.", + "details": "SQL injection vulnerability in the Active Record component in Ruby on Rails before 2.3.15, 3.0.x before 3.0.18, 3.1.x before 3.1.9, and 3.2.x before 3.2.10 allows remote attackers to execute arbitrary SQL commands via a crafted request that leverages incorrect behavior of dynamic finders in applications that can use unexpected data types in certain find_by_ method calls.", "severity": [], "affected": [ { @@ -20,7 +20,7 @@ "type": "ECOSYSTEM", "events": [ { - "introduced": "0" + "introduced": "3.0.0.beta" }, { "fixed": "3.0.18" @@ -66,6 +66,28 @@ ] } ] + }, + { + "package": { + "ecosystem": "RubyGems", + "name": "activerecord" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0" + }, + { + "fixed": "3.0.18" + } + ] + } + ], + "database_specific": { + "last_known_affected_version_range": "< 2.3.15" + } } ], "references": [ @@ -73,10 +95,18 @@ "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2012-6496" }, + { + "type": "WEB", + "url": "https://github.com/rails/rails/commit/9de9b359d0d24f70f0f6c5c58a7ad8750684d456" + }, { "type": "WEB", "url": "https://bugzilla.redhat.com/show_bug.cgi?id=889649" }, + { + "type": "PACKAGE", + "url": "https://github.com/rails/rails" + }, { "type": "WEB", "url": "https://groups.google.com/group/rubyonrails-security/msg/23daa048baf28b64?dmode=source&output=gplain"