Skip to content

Commit a061a60

Browse files
ankanereedloden
authored andcommitted
Add CVE-2019-13146 for field_test (#395)
1 parent 6744361 commit a061a60

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

gems/field_test/CVE-2019-13146.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
gem: field_test
3+
cve: 2019-13146
4+
url: https://github.com/ankane/field_test/issues/17
5+
title: Arbitrary Variants Via Query Parameters
6+
date: 2019-07-01
7+
description: |
8+
Due to unvalidated input, an attacker can pass in
9+
arbitrary variants via query parameters.
10+
11+
If an application treats variants as trusted, this can
12+
lead to potential vulnerabilities like SQL injection
13+
or cross-site scripting (XSS). For instance:
14+
15+
landing_page = field_test(:landing_page)
16+
Page.where("key = '#{landing_page}'")
17+
patched_versions:
18+
- ">= 0.3.1"
19+
unaffected_versions:
20+
- "< 0.3.0"

0 commit comments

Comments
 (0)