{
  "schema_version": "1.4.0",
  "id": "GHSA-2gw2-8q9w-cw8p",
  "modified": "2023-01-25T22:55:50Z",
  "published": "2018-08-31T14:55:43Z",
  "aliases": [
    "CVE-2018-1000201"
  ],
  "summary": "Ruby-ffi has a DLL loading issue ",
  "details": "ruby-ffi version 1.9.23 and earlier has a DLL loading issue which can be hijacked on Windows OS, when a Symbol is used as DLL name instead of a String This vulnerability appears to have been fixed in v1.9.24 and later.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "RubyGems",
        "name": "ffi"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.9.24"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1000201"
    },
    {
      "type": "WEB",
      "url": "https://github.com/ffi/ffi/commit/09e0c6076466b4383da7fa4e13f714311109945a"
    },
    {
      "type": "WEB",
      "url": "https://github.com/ffi/ffi/commit/e0fe486df0e117ed67b0282b6ada04b7214ca05c"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/ffi/ffi"
    },
    {
      "type": "WEB",
      "url": "https://github.com/ffi/ffi/releases/tag/1.9.24"
    },
    {
      "type": "WEB",
      "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/ffi/CVE-2018-1000201.yml"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-426"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2020-06-16T20:52:04Z",
    "nvd_published_at": null
  }
}