CVE-2018-1000201 json
Ruby-ffi has a DLL loading issue
published 8y ago modified 4mo ago also GHSA-2gw2-8q9w-cw8p , EUVD-2018-0350
- cvss
- 7.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.3%
- EPSS 1.3% chance of exploitation in 30 days, percentile 71%
- public exploits
- 0
- none known
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.
Patch / fix
- rubygems ffi 1.9.24
- github.com/ffi/ffi@e0fe486 commit
- github.com/ffi/ffi@09e0c60 commit
- github.com/ffi/ffi/releases/tag/1.9.24 release
Is CVE-2018-1000201 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
1.33% chance of exploitation in the next 30 days, higher than 71% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 7.8 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
| GitHub | 3.0 | 7.8 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | ffi | <1.9.24 |
1.9.24 |
Classification
- Weakness
-
- CWE-426 Untrusted Search Path
References
-
github.com
/ffi/ffi/commit/e0fe486df0e117ed67b0282b6ada04b7214ca05c
web, patch, third-party-advisory
-
github.com
/ffi/ffi/commit/09e0c6076466b4383da7fa4e13f714311109945a
web, patch, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2018-1000201
advisory
-
github.com
/ffi/ffi
package
-
github.com
/ffi/ffi/releases/tag/1.9.24
web
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/ffi/CVE-2018-1000201.yml
web
Sources
- CVE List CVE-2018-1000201
- GitHub Advisory GHSA-2gw2-8q9w-cw8p
- NVD CVE-2018-1000201
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.