CVE-2019-13146 json
field_test gem contains injection vulnerability
published 2019-07-09 7 y ago modified 2026-06-17 4 mo ago also GHSA-wg9m-gw3h-hg83 , EUVD-2019-0607
- cvss
- 5.3
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.4%
- EPSS 1.4% chance of exploitation in 30 days, percentile 73%
- public exploits
- 0
- none known
Summary
The field_test gem 0.3.0 for Ruby has unvalidated input. A method call that is expected to return a value from a certain set of inputs can be made to return any input, which can be dangerous depending on how applications use it. If an application treats arbitrary variants as trusted, this can lead to a variety of potential vulnerabilities like SQL injection or cross-site scripting (XSS).
Patch / fix
- rubygems field_test 0.3.1
Exploit prediction
1.45% chance of exploitation in the next 30 days, higher than 73% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/ankane/field_test/issues/17 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 5.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
| GitHub | 3.0 | 5.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | field_test | >=0.3.0, <0.3.1 |
0.3.1 |
Classification
- Weakness
-
- CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component
References
-
github.com
/ankane/field_test/issues/17
web, exploit, third-party-advisory
-
rubygems.org
/gems/field_test
product, third-party-advisory
-
securityfocus.com
/bid/109114
vdb-entry, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2019-13146
advisory
-
github.com
/ankane/field_test
package
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/field_test/CVE-2019-13146.yml
web
-
web.archive.org
/web/20210115194802/http://www.securityfocus.com/bid/109114
web
Sources
- CVE List CVE-2019-13146
- GitHub Advisory GHSA-wg9m-gw3h-hg83
- NVD CVE-2019-13146
Fencer Vulns 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.