{"id":"CVE-2019-13146","published":"2019-07-09T17:58:40Z","modified":"2024-08-04T23:41:10Z","title":"The field_test gem 0.3.0 for Ruby has unvalidated input","vendor":null,"product":null,"tier":"tail","description":{"text":"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).","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01449,"percentile":0.7399,"provenance":"source"},"cwes":[],"references":[{"url":"https://rubygems.org/gems/field_test","tags":["x_refsource_MISC"]},{"url":"https://github.com/ankane/field_test/issues/17","tags":["x_refsource_MISC"]},{"url":"http://www.securityfocus.com/bid/109114","tags":["vdb-entry","x_refsource_BID"]}],"priority":{"score":14.8,"factors":[{"name":"EPSS percentile","points":14.8}]},"affected":[{"ecosystem":"RubyGems","package":"field_test","vulnerableRanges":[">=0.3.0, <0.3.1"],"patched":["0.3.1"],"from":["GHSA-wg9m-gw3h-hg83"],"provenance":"source"}],"summary":{"text":"The field_test gem 0.3.0 for Ruby contains unvalidated input in which a method expected to return a value from a fixed set of inputs can instead be made to return any input. An attacker could exploit this when an application treats arbitrary variant values as trusted, potentially leading to issues such as SQL injection or cross-site scripting, though the exact conditions required (network access, authentication, user interaction, or configuration) are not specified in the available information.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:46:42Z"},"euvd":{"id":"EUVD-2019-0607","exploited":false,"provenance":"source"}}