{
  "schema_version": "1.4.0",
  "id": "GHSA-694m-jhr9-pf77",
  "modified": "2023-01-21T03:36:04Z",
  "published": "2018-08-13T20:46:41Z",
  "aliases": [
    "CVE-2018-1000211"
  ],
  "summary": "Doorkeeper subject to Incorrect Permission Assignment",
  "details": "Doorkeeper version 4.2.0 and later contains a Incorrect Access Control vulnerability in Token revocation API's authorized method that can result in Access tokens are not revoked for public OAuth apps, leaking access until expiry.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "RubyGems",
        "name": "doorkeeper"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "4.2.0"
            },
            {
              "fixed": "4.4.0"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1000211"
    },
    {
      "type": "WEB",
      "url": "https://github.com/doorkeeper-gem/doorkeeper/issues/891"
    },
    {
      "type": "WEB",
      "url": "https://github.com/doorkeeper-gem/doorkeeper/pull/1119"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-694m-jhr9-pf77"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/doorkeeper-gem/doorkeeper"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-732"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2020-06-16T21:18:42Z",
    "nvd_published_at": null
  }
}