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

    Threat Intelligence

    EPSS
    0.13% (49th 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 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

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
7.5 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    None
  • Integrity (I)
    High
  • Availability (A)
    None