Advisory

GHSA-wg9m-gw3h-hg83

Also known as: CVE-2019-13146

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

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2019-07-16 00:42 UTC
Modified
2025-03-03 13:30 UTC

Affected packages and fixes

field_test

RubyGems · All systems

Affected

  • introduced 0.3.0, fixed 0.3.1 (ecosystem)

Fixed versions

0.3.1

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences