GHSA-33wh-w4m7-c6r8MediumCVSS 5.8

update_by_case before 0.1.3 can be vulnerable to sql injection

Published
August 11, 2022
Last Modified
January 27, 2023

🔗 CVE IDs covered (1)

📋 Description

Before version 0.1.3 update_by_case gem used custom sql strings, and it was not sanitized, making it vulnerable to sql injection. Upgrade to version >= 0.1.3 that uses Arel instead to construct the resulting sql statement, with sanitized sql.

🎯 Affected products1

  • rubygems/update_by_case:< 0.1.3

🔗 References (5)