Loading...
Skip to main content

CVE-2018-1000201 — Vulnerability in ffi — CVE Details

HIGH

Ruby-ffi has a DLL loading issue

Published August 31, 2018Updated February 16, 2024Source: osv

Summary

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.

Advisory Timeline

  • First published August 31, 2018 (2964 days ago).
  • Last revised February 16, 2024 — 1995 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Bundler
Update ffi to 1.9.24 or later
gem install ffi -v 1.9.24

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: rubygems (1).

PackageEcosystemAffectedFixed In
ffi
rubygems
0.1.0, 0.1.1, 0.2.0, 0.3.0 (+85 more)1.9.24

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 7.8 score means for each attack dimension.

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2018-1000201?
Ruby-ffi has a DLL loading issue This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.8/10).
How do I check if my project is affected by CVE-2018-1000201?
CVE-2018-1000201 affects ffi. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2018-1000201 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
7.8

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-2gw2-8q9w-cw8p

Related CVEs

  • CVE-2026-94462
    HIGH

    Spree: Broken Access Control in `PATCH /api/v3/store/carts/:id/associate` (IDOR)

  • CVE-2026-77601
    HIGH

    OpenC3 COSMOS: Authenticated OS command injection via the `pypi_url` setting

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies