Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

nvd логотип

CVE-2022-35956

Опубликовано: 12 авг. 2022
Источник: nvd
CVSS3: 5.8
CVSS3: 9.8
EPSS Низкий

Описание

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.

Уязвимые конфигурации

Конфигурация 1
cpe:2.3:a:update_by_case_project:update_by_case:*:*:*:*:*:ruby:*:*
Версия до 0.1.3 (исключая)

EPSS

Процентиль: 46%
0.0023
Низкий

5.8 Medium

CVSS3

9.8 Critical

CVSS3

Дефекты

CWE-89

Связанные уязвимости

CVSS3: 5.8
github
больше 3 лет назад

update_by_case before 0.1.3 can be vulnerable to sql injection

EPSS

Процентиль: 46%
0.0023
Низкий

5.8 Medium

CVSS3

9.8 Critical

CVSS3

Дефекты

CWE-89