Improper Input Validation Affecting field_test package, versions >=0.3.0, <0.3.1


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.21% (59th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUBY-FIELDTEST-451558
  • published10 Jul 2019
  • disclosed9 Jul 2019
  • creditAndrew Kane

Introduced: 9 Jul 2019

CVE-2019-13146  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade field_test to version 0.3.1 or higher.

Overview

field_test is an A/B testing library for Rails.

Affected versions of this package are vulnerable to Improper Input Validation. 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).

CVSS Scores

version 3.1