{"id":"CVE-2019-13146","aliases":["CVE-2019-13146","GHSA-wg9m-gw3h-hg83"],"related":[],"kind":"vulnerability","state":"published","title":"field_test gem contains injection vulnerability","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).","summarySource":"cvelist","descriptions":[{"lang":"en","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).","source":"cvelist"},{"lang":"es","text":"La gema field_test versión 0.3.0 para Ruby, presenta una entrada no válida. Una llamada de método que se espera que devuelva un valor de un determinado conjunto de entradas  puede hacer devolver cualquier entrada, lo que puede ser peligroso dependiendo de cómo las aplicaciones lo usen. Si una aplicación considera que las variantes arbitrarias son de confianza, esto puede conllevar a una variedad de vulnerabilidades potenciales, tales como la inyección SQL o una de tipo cross-site scripting (XSS).","source":"nvd"}],"published":"2019-07-09T17:58:40.000Z","modified":"2026-06-17T02:16:09.710Z","severity":{"scorer":"NVD","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","score":5,"rating":"MEDIUM"}],"cwes":["CWE-74"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0.3.0","status":"affected","fixed":"0.3.1"}],"ecosystem":"RubyGems","package":"field_test","purl":"pkg:gem/field_test","source":"ghsa"},{"ranges":[{"status":"affected","version":"0.3.0"}],"vendor":"field_test_project","product":"field_test","cpe":"cpe:2.3:a:field_test_project:field_test:0.3.0:*:*:*:*:ruby:*:*","source":"nvd"}],"references":[{"url":"https://rubygems.org/gems/field_test","tags":["product","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ankane/field_test/issues/17","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://www.securityfocus.com/bid/109114","tags":["third-party-advisory","vdb-entry","x-refsource-bid","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-13146","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/ankane/field_test","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/field_test/CVE-2019-13146.yml","tags":["web"],"sources":["ghsa"]},{"url":"https://web.archive.org/web/20210115194802/http://www.securityfocus.com/bid/109114","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2019-13146","url":"https://www.cve.org/CVERecord?id=CVE-2019-13146","licence":"CVE Terms of Use","modified":"2024-08-04T23:41:10.482Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-wg9m-gw3h-hg83","url":"https://github.com/advisories/GHSA-wg9m-gw3h-hg83","licence":"CC-BY-4.0","modified":"2025-03-03T13:30:18.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2019-13146","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-13146","licence":"Public domain","modified":"2026-06-17T02:16:09.710Z"}],"updatedAt":"2026-11-25T22:57:45.888Z","epss":{"score":0.01449,"percentile":0.74112,"date":"2026-12-01T12:00:22.000Z"}}