{"api_version":"1","generated_at":"2026-07-23T12:07:23+00:00","cve":"CVE-2019-13146","urls":{"html":"https://cve.report/CVE-2019-13146","api":"https://cve.report/api/cve/CVE-2019-13146.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2019-13146","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2019-13146"},"summary":{"title":"CVE-2019-13146","description":"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).","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2019-07-09 18:15:00","updated_at":"2020-08-24 17:37:00"},"problem_types":["CWE-74"],"metrics":[],"references":[{"url":"https://rubygems.org/gems/field_test","name":"https://rubygems.org/gems/field_test","refsource":"MISC","tags":["Product","Third Party Advisory"],"title":"field_test | RubyGems.org | your community gem host","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/ankane/field_test/issues/17","name":"https://github.com/ankane/field_test/issues/17","refsource":"MISC","tags":["Exploit","Third Party Advisory"],"title":"Arbitrary Variants Via Query Parameters in Field Test 0.3.0 · Issue #17 · ankane/field_test · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/109114","name":"109114","refsource":"BID","tags":["Third Party Advisory"],"title":"Malformed Request","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-13146","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-13146","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2019","cve_id":"13146","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"field_test_project","cpe5":"field_test","cpe6":"0.3.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"ruby","cpe12":"*","cpe13":"*"},{"cve_year":"2019","cve_id":"13146","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"field_test_project","cpe5":"field_test","cpe6":"0.3.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"ruby","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2019-13146","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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)."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"url":"https://rubygems.org/gems/field_test","refsource":"MISC","name":"https://rubygems.org/gems/field_test"},{"refsource":"MISC","name":"https://github.com/ankane/field_test/issues/17","url":"https://github.com/ankane/field_test/issues/17"},{"refsource":"BID","name":"109114","url":"http://www.securityfocus.com/bid/109114"}]}},"nvd":{"publishedDate":"2019-07-09 18:15:00","lastModifiedDate":"2020-08-24 17:37:00","problem_types":["CWE-74"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM"},"exploitabilityScore":3.9,"impactScore":1.4},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:N/I:P/A:N","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE","baseScore":5},"severity":"MEDIUM","exploitabilityScore":10,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:field_test_project:field_test:0.3.0:*:*:*:*:ruby:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2019","CveId":"13146","Ordinal":"151504","Title":"CVE-2019-13146","CVE":"CVE-2019-13146","Year":"2019"},"notes":[{"CveYear":"2019","CveId":"13146","Ordinal":"1","NoteData":"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).","Type":"Description","Title":null},{"CveYear":"2019","CveId":"13146","Ordinal":"2","NoteData":"2019-07-09","Type":"Other","Title":"Published"},{"CveYear":"2019","CveId":"13146","Ordinal":"3","NoteData":"2019-07-11","Type":"Other","Title":"Modified"}]}}}