Tóm tắt nhanh
- CVE-2022-35956 là lỗ hổng mức NGHIÊM TRỌNG (CVSS 9.8) ảnh hưởng update_by_case, update by case (update by case project).
- Xác suất bị khai thác trong 30 ngày tới (EPSS): 0.65%, cao hơn 51.4% các lỗ hổng khác.
- Cách xử lý: cập nhật lên 0.1.3 hoặc mới hơn.
Mô tả
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.
Mô tả của NVD
This Rails gem adds two methods to the ActiveRecord::Base class that allow you to update many records on a single database hit, using a case sql statement for it. 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.
Bạn đang dùng một trong các sản phẩm này? Quét site để biết có đang lộ phiên bản có lỗ hổng không.
Quét site miễn phí