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


0.0
high

Snyk CVSS

    Attack Complexity Low
    Integrity High

    Threat Intelligence

    EPSS 0.09% (39th percentile)
Expand this section
NVD
5.3 medium

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 ID SNYK-RUBY-FIELDTEST-451558
  • published 10 Jul 2019
  • disclosed 9 Jul 2019
  • credit Andrew Kane

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

References