GitHub Advisoryadvisory · RubyGems

GHSA-wg9m-gw3h-hg83 field_test gem contains injection vulnerability

MEDIUM Published 2019-07-16 Modified 2025-03-03 Official page ↗
Aliases
CVE-2019-13146
Ecosystem
RubyGems
Packages
field_test
Severity
Moderate
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Weaknesses
CWE-74
Reviewed
2019-07-15

Affected packages

• RubyGems field_test: >= 0.3.0, < 0.3.1 → fixed in 0.3.1

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

Related

Alias · CVE (1)

  • CVE-2019-13146 The field_test gem 0.3.0 for Ruby has unvalidated input. vulnerability

Weakness · CWE (1)

  • CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component weakness

References