{
  "schema_version": "1.4.0",
  "id": "GHSA-7phj-gmgx-2r66",
  "modified": "2021-12-03T14:24:43Z",
  "published": "2018-09-17T21:58:09Z",
  "withdrawn": "2020-06-16T21:23:09Z",
  "aliases": [],
  "summary": "Moderate severity vulnerability that affects activerecord",
  "details": "Withdrawn, accidental duplicate publish.\n\nactiverecord/lib/active_record/nested_attributes.rb in Active Record in Ruby on Rails 3.1.x and 3.2.x before 3.2.22.1, 4.0.x and 4.1.x before 4.1.14.1, 4.2.x before 4.2.5.1, and 5.x before 5.0.0.beta1.1 does not properly implement a certain destroy option, which allows remote attackers to bypass intended change restrictions by leveraging use of the nested attributes feature.",
  "severity": [],
  "affected": [
    {
      "package": {
        "ecosystem": "RubyGems",
        "name": "activerecord"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "4.0.0"
            },
            {
              "fixed": "4.1.14.1"
            }
          ]
        }
      ],
      "database_specific": {
        "last_known_affected_version_range": "<= 4.1.14.0"
      }
    },
    {
      "package": {
        "ecosystem": "RubyGems",
        "name": "activerecord"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "4.2.0"
            },
            {
              "fixed": "4.2.5.1"
            }
          ]
        }
      ],
      "database_specific": {
        "last_known_affected_version_range": "<= 4.2.5.0"
      }
    },
    {
      "package": {
        "ecosystem": "RubyGems",
        "name": "activerecord"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "3.0.0"
            },
            {
              "fixed": "3.2.22.1"
            }
          ]
        }
      ],
      "database_specific": {
        "last_known_affected_version_range": "<= 3.2.22.0"
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2015-7577"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-7phj-gmgx-2r66"
    }
  ],
  "database_specific": {
    "cwe_ids": [],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2020-06-16T21:23:09Z",
    "nvd_published_at": null
  }
}