GSD-2018-1000201

Vulnerability from gsd - Updated: 2018-06-22 00:00
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.

{
  "GSD": {
    "alias": "CVE-2018-1000201",
    "description": "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.",
    "id": "GSD-2018-1000201",
    "references": [
      "https://www.suse.com/security/cve/CVE-2018-1000201.html"
    ]
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "affected": [
        {
          "package": {
            "ecosystem": "RubyGems",
            "name": "ffi",
            "purl": "pkg:gem/ffi"
          }
        }
      ],
      "aliases": [
        "CVE-2018-1000201",
        "GHSA-2gw2-8q9w-cw8p"
      ],
      "details": "ruby-ffi version 1.9.23 and earlier has a DLL loading issue which can be\nhijacked on Windows OS, when a Symbol is used as DLL name instead of a String\nThis vulnerability appears to have been fixed in v1.9.24 and later.\n",
      "id": "GSD-2018-1000201",
      "modified": "2018-06-22T00:00:00.000Z",
      "published": "2018-06-22T00:00:00.000Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://github.com/ffi/ffi/releases/tag/1.9.24"
        },
        {
          "type": "WEB",
          "url": "https://github.com/ffi/ffi/commit/09e0c6076466b4383da7fa4e13f714311109945a"
        },
        {
          "type": "WEB",
          "url": "https://github.com/ffi/ffi/commit/e0fe486df0e117ed67b0282b6ada04b7214ca05c"
        }
      ],
      "schema_version": "1.4.0",
      "severity": [
        {
          "score": 6.8,
          "type": "CVSS_V2"
        },
        {
          "score": 7.8,
          "type": "CVSS_V3"
        }
      ],
      "summary": "ruby-ffi DDL loading issue on Windows OS"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "DATE_ASSIGNED": "2018-04-06",
        "ID": "CVE-2018-1000201",
        "REQUESTER": "lars@greiz-reinsdorf.de",
        "STATE": "PUBLIC"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "n/a",
                    "version": {
                      "version_data": [
                        {
                          "version_value": "n/a"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "n/a"
            }
          ]
        }
      },
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "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."
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "n/a"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://github.com/ffi/ffi/commit/e0fe486df0e117ed67b0282b6ada04b7214ca05c",
            "refsource": "CONFIRM",
            "url": "https://github.com/ffi/ffi/commit/e0fe486df0e117ed67b0282b6ada04b7214ca05c"
          },
          {
            "name": "https://github.com/ffi/ffi/commit/09e0c6076466b4383da7fa4e13f714311109945a",
            "refsource": "CONFIRM",
            "url": "https://github.com/ffi/ffi/commit/09e0c6076466b4383da7fa4e13f714311109945a"
          }
        ]
      }
    },
    "github.com/rubysec/ruby-advisory-db": {
      "cve": "2018-1000201",
      "cvss_v2": 6.8,
      "cvss_v3": 7.8,
      "date": "2018-06-22",
      "description": "ruby-ffi version 1.9.23 and earlier has a DLL loading issue which can be\nhijacked on Windows OS, when a Symbol is used as DLL name instead of a String\nThis vulnerability appears to have been fixed in v1.9.24 and later.\n",
      "gem": "ffi",
      "ghsa": "2gw2-8q9w-cw8p",
      "patched_versions": [
        "\u003e= 1.9.24"
      ],
      "related": {
        "url": [
          "https://github.com/ffi/ffi/commit/09e0c6076466b4383da7fa4e13f714311109945a",
          "https://github.com/ffi/ffi/commit/e0fe486df0e117ed67b0282b6ada04b7214ca05c"
        ]
      },
      "title": "ruby-ffi DDL loading issue on Windows OS",
      "url": "https://github.com/ffi/ffi/releases/tag/1.9.24"
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "\u003c=1.9.23",
          "affected_versions": "All versions up to 1.9.23",
          "cvss_v2": "AV:N/AC:M/Au:N/C:P/I:P/A:P",
          "cvss_v3": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
          "cwe_ids": [
            "CWE-1035",
            "CWE-426",
            "CWE-937"
          ],
          "date": "2018-08-13",
          "description": "ruby-ffi has a DLL loading issue which can be hijacked on Windows OS, when a Symbol is used as DLL name instead of a String.",
          "fixed_versions": [
            "1.9.24"
          ],
          "identifier": "CVE-2018-1000201",
          "identifiers": [
            "CVE-2018-1000201"
          ],
          "not_impacted": "All versions after 1.9.23",
          "package_slug": "gem/ffi",
          "pubdate": "2018-06-22",
          "solution": "Upgrade to version 1.9.24 or above.",
          "title": "Untrusted Search Path",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2018-1000201"
          ],
          "uuid": "8e0cf74f-27fb-41ad-939b-d86940adefa2"
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [
              {
                "children": [],
                "cpe_match": [
                  {
                    "cpe23Uri": "cpe:2.3:a:ruby-ffi_project:ruby-ffi:*:*:*:*:*:*:*:*",
                    "cpe_name": [],
                    "versionEndIncluding": "1.9.23",
                    "vulnerable": true
                  }
                ],
                "operator": "OR"
              },
              {
                "children": [],
                "cpe_match": [
                  {
                    "cpe23Uri": "cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*",
                    "cpe_name": [],
                    "vulnerable": false
                  }
                ],
                "operator": "OR"
              }
            ],
            "cpe_match": [],
            "operator": "AND"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "cve@mitre.org",
          "ID": "CVE-2018-1000201"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "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."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-426"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://github.com/ffi/ffi/commit/e0fe486df0e117ed67b0282b6ada04b7214ca05c",
              "refsource": "CONFIRM",
              "tags": [
                "Patch",
                "Third Party Advisory"
              ],
              "url": "https://github.com/ffi/ffi/commit/e0fe486df0e117ed67b0282b6ada04b7214ca05c"
            },
            {
              "name": "https://github.com/ffi/ffi/commit/09e0c6076466b4383da7fa4e13f714311109945a",
              "refsource": "CONFIRM",
              "tags": [
                "Patch",
                "Third Party Advisory"
              ],
              "url": "https://github.com/ffi/ffi/commit/09e0c6076466b4383da7fa4e13f714311109945a"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV2": {
          "cvssV2": {
            "accessComplexity": "MEDIUM",
            "accessVector": "NETWORK",
            "authentication": "NONE",
            "availabilityImpact": "PARTIAL",
            "baseScore": 6.8,
            "confidentialityImpact": "PARTIAL",
            "integrityImpact": "PARTIAL",
            "vectorString": "AV:N/AC:M/Au:N/C:P/I:P/A:P",
            "version": "2.0"
          },
          "exploitabilityScore": 8.6,
          "impactScore": 6.4,
          "obtainAllPrivilege": false,
          "obtainOtherPrivilege": false,
          "obtainUserPrivilege": false,
          "severity": "MEDIUM",
          "userInteractionRequired": true
        },
        "baseMetricV3": {
          "cvssV3": {
            "attackComplexity": "LOW",
            "attackVector": "LOCAL",
            "availabilityImpact": "HIGH",
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
            "version": "3.0"
          },
          "exploitabilityScore": 1.8,
          "impactScore": 5.9
        }
      },
      "lastModifiedDate": "2018-08-13T18:55Z",
      "publishedDate": "2018-06-22T18:29Z"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…