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

exploitDog

github логотип

GHSA-r5jw-62xg-j433

Опубликовано: 28 мая 2020
Источник: github
Github: Прошло ревью
CVSS3: 6.4

Описание

Cross-Site Scripting in Kaminari

Impact

In Kaminari before 1.2.1, there is a vulnerability that would allow an attacker to inject arbitrary code into pages with pagination links. This has been fixed in 1.2.1.

Releases

The 1.2.1 gem including the patch has already been released. All past released versions are affected by this vulnerability.

Workarounds

Application developers who can't update the gem can workaround by overriding the PARAM_KEY_EXCEPT_LIST constant.

module Kaminari::Helpers PARAM_KEY_EXCEPT_LIST = [:authenticity_token, :commit, :utf8, :_method, :script_name, :original_script_name].freeze end

Credits

Thanks to Daniel Mircea for finding the issue and sending a patch via GitHub. Also thanks to Aditya Prakash for reporting the vulnerability.

Пакеты

Наименование

kaminari

rubygems
Затронутые версииВерсия исправления

< 1.2.1

1.2.1

EPSS

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

6.4 Medium

CVSS3

Дефекты

CWE-79

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

CVSS3: 6.4
ubuntu
больше 5 лет назад

In Kaminari before 1.2.1, there is a vulnerability that would allow an attacker to inject arbitrary code into pages with pagination links. This has been fixed in 1.2.1.

CVSS3: 6.4
nvd
больше 5 лет назад

In Kaminari before 1.2.1, there is a vulnerability that would allow an attacker to inject arbitrary code into pages with pagination links. This has been fixed in 1.2.1.

CVSS3: 6.4
debian
больше 5 лет назад

In Kaminari before 1.2.1, there is a vulnerability that would allow an ...

EPSS

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

6.4 Medium

CVSS3

Дефекты

CWE-79