Skip to content
OpenAdvisories
Medium · 5.3 CVE-2019-13146 EUVD-2019-0607GHSA-wg9m-gw3h-hg83

field_test gem contains injection vulnerability

Published Jul 9, 2019 · Updated Aug 4, 2024 · Assigned by mitre

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).

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems field_test >= 0.3.0, < 0.3.1 0.3.1 GHSA-wg9m-gw3h-hg83

References