swagger-api / swagger-api/swagger-codegen

CVE-2018-1000201 (High) detected in ffi-1.9.18.gem

Open
#11,522 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

security vulnerability
Dominant language
Mustache
Stars
17.8k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

CVE-2018-1000201 - High Severity Vulnerability

Vulnerable Library - ffi-1.9.18.gem

Ruby FFI library

Library home page: https://rubygems.org/gems/ffi-1.9.18.gem

Dependency Hierarchy:

  • autotest-fsevent-0.2.12.gem (Root Library)
    • sys-uname-1.0.3.gem
      • ffi-1.9.18.gem (Vulnerable Library)

Found in HEAD commit: 4b7a8d7d7384aa6a27d6309c35ade0916edae7ed

Found in base branch: master

Vulnerability 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.

Publish Date: 2018-06-22

URL: CVE-2018-1000201

CVSS 3 Score Details (7.8)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Local
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: Required
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2018-1000201

Release Date: 2018-06-22

Fix Resolution: 1.9.24

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the dependency hierarchy from autotest-fsevent through sys-uname to ffi-1.9.18.gem, using the master branch at the referenced commit as the baseline. Update the dependency so ffi resolves to 1.9.24 or later, then verify that the vulnerable version is no longer present.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
security
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.