Publish GHSA-76wq-xw4h-f8wj

This commit is contained in:
advisory-database[bot]
2025-01-21 15:13:53 +00:00
parent 9b76983889
commit 0952591ae3
@@ -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"