GHSA-wg9m-gw3h-hg83

    Dashboard / Vulnerabilities / GHSA-wg9m-gw3h-hg83

    GHSA-wg9m-gw3h-hg83

    Published: 16 Jul 2019Last Modified: 3 Mar 2025

    Summary: field_test gem contains injection vulnerability

    Details: 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

    Package

    Name: field_test

    Purl: pkg:gem/field_test

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0.3.0
    Fixed -0.3.1

    Affected versions

    0.3.0

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High