CVE-2018-1000201Ruby-ffi Project Ruby-ffi
High 7.8
Follow: this CVE · Ruby-ffi Project · Ruby-ffi Project Ruby-ffi We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Ruby-ffi.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| ruby-ffi_project | ruby-ffi | ≤ 1.9.23 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory