{
  "schema_version": "1.4.0",
  "id": "GHSA-m8h6-m9p5-p2f8",
  "modified": "2021-12-02T23:15:03Z",
  "published": "2018-08-13T20:49:01Z",
  "withdrawn": "2020-06-16T21:45:29Z",
  "aliases": [],
  "summary": "Moderate severity vulnerability that affects activerecord",
  "details": "Withdrawn, accidental duplicate publish.\n\nActive Record in Ruby on Rails 4.2.x before 4.2.7.1 does not properly consider differences in parameter handling between the Active Record component and the JSON implementation, which allows remote attackers to bypass intended database-query restrictions and perform NULL checks or trigger missing WHERE clauses via a crafted request, as demonstrated by certain \"[nil]\" values, a related issue to CVE-2012-2660, CVE-2012-2694, and CVE-2013-0155.",
  "severity": [],
  "affected": [
    {
      "package": {
        "ecosystem": "RubyGems",
        "name": "activerecord"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "4.2.0"
            },
            {
              "fixed": "4.2.7.1"
            }
          ]
        }
      ],
      "database_specific": {
        "last_known_affected_version_range": "<= 4.2.7.0"
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2016-6317"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-m8h6-m9p5-p2f8"
    }
  ],
  "database_specific": {
    "cwe_ids": [],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2020-06-16T21:45:29Z",
    "nvd_published_at": null
  }
}