{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "5.1.4"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "813af4655f9bf3c712cf50205eebd337070cee52"
            }
          ],
          "repo": "https://github.com/rails/rails",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "SQL injection vulnerability in the 'where' method in Ruby on Rails 5.1.4 and earlier allows remote attackers to execute arbitrary SQL commands via the 'id' parameter. NOTE: The vendor disputes this issue because the documentation states that this method is not intended for use with untrusted input",
  "id": "CVE-2017-17917",
  "modified": "2026-03-13T21:48:55.401222246Z",
  "published": "2017-12-29T16:29:00.263Z",
  "references": [
    {
      "type": "EVIDENCE",
      "url": "https://kay-malwarebenchmark.github.io/blog/ruby-on-rails-arbitrary-sql-injection/"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}