PT-2022-23056 · Unknown · Update By Case
Camilova
·
Published
2022-08-11
·
Updated
2022-08-16
·
CVE-2022-35956
CVSS v3.1
5.8
Medium
| Vector | AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L |
Name of the Vulnerable Software and Affected Versions
update by case gem versions prior to 0.1.3
Description
The issue concerns a SQL injection vulnerability due to the use of custom, unsanitized SQL strings in the update by case gem. This vulnerability allows for potential SQL injection attacks. The gem has been updated to use Arel for constructing SQL statements, which sanitizes the input and prevents SQL injection.
Recommendations
For versions prior to 0.1.3, upgrade to version 0.1.3 or later, which uses Arel to construct the resulting SQL statement with sanitized SQL.
Exploit
Fix
SQL injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Update By Case