Live threats

All CVEs / Ruby-ffi Project

CVE-2018-1000201Ruby-ffi Project Ruby-ffi

High 7.8

Priority
47
CVSS 3.0
7.8
EPSS
1.3%
probability of exploitation in 30 days · percentile 71
Auth required
Yes
Published
Jun 22, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-426
Vector
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ruby-ffi.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems ffi < 1.9.24 1.9.24 gem "ffi", ">= 1.9.24"

Per OSV / GitHub Advisories (GHSA-2gw2-8q9w-cw8p). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
ruby-ffi_projectruby-ffi≤ 1.9.23

Official sources

References

Links published by the sources. Open them with care.