CVE-2019-13146 field_test gem contains injection vulnerability

Medium 5.3 Published Updated

The field_test gem allows unvalidated input to return arbitrary values, potentially enabling downstream vulnerabilities like SQL injection or XSS in dependent applications.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2019-13146?

CVE-2019-13146 is a medium-severity vulnerability in n/a, published on 9 Jul 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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

Weakness: CWE-74

Which versions are affected by CVE-2019-13146?

2 open source packages ship an affected version, including field_test. It affects 1 product.

PackageAffectedFixed in
field_test RubyGemsFrom 0.3.00.3.1
field_test RubyGemsFrom 0.3.00.3.1

Products include Field Test Project Field Test.

How do I fix CVE-2019-13146?

Upgrade field_test to 0.3.1 or later.

Is CVE-2019-13146 being exploited?

There is no known exploitation of CVE-2019-13146 in the wild and no public exploit code.

Sources

Also known as GHSA-wg9m-gw3h-hg83.

Is CVE-2019-13146 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free