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

exploitDog

nvd логотип

CVE-2021-21289

Опубликовано: 02 фев. 2021
Источник: nvd
CVSS3: 7.4
CVSS3: 8.3
CVSS2: 7.6
EPSS Низкий

Описание

Mechanize is an open-source ruby library that makes automated web interaction easy. In Mechanize from version 2.0.0 and before version 2.7.7 there is a command injection vulnerability. Affected versions of mechanize allow for OS commands to be injected using several classes' methods which implicitly use Ruby's Kernel.open method. Exploitation is possible only if untrusted input is used as a local filename and passed to any of these calls: Mechanize::CookieJar#load, Mechanize::CookieJar#save_as, Mechanize#download, Mechanize::Download#save, Mechanize::File#save, and Mechanize::FileResponse#read_body. This is fixed in version 2.7.7.

Ссылки

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

Конфигурация 1
cpe:2.3:a:mechanize_project:mechanize:*:*:*:*:*:ruby:*:*
Версия от 2.0 (включая) до 2.7.7 (исключая)
Конфигурация 2

Одно из

cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
Конфигурация 3
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*

EPSS

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

7.4 High

CVSS3

8.3 High

CVSS3

7.6 High

CVSS2

Дефекты

CWE-78
CWE-78

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

CVSS3: 7.4
ubuntu
около 5 лет назад

Mechanize is an open-source ruby library that makes automated web interaction easy. In Mechanize from version 2.0.0 and before version 2.7.7 there is a command injection vulnerability. Affected versions of mechanize allow for OS commands to be injected using several classes' methods which implicitly use Ruby's Kernel.open method. Exploitation is possible only if untrusted input is used as a local filename and passed to any of these calls: Mechanize::CookieJar#load, Mechanize::CookieJar#save_as, Mechanize#download, Mechanize::Download#save, Mechanize::File#save, and Mechanize::FileResponse#read_body. This is fixed in version 2.7.7.

CVSS3: 8.3
redhat
около 5 лет назад

Mechanize is an open-source ruby library that makes automated web interaction easy. In Mechanize from version 2.0.0 and before version 2.7.7 there is a command injection vulnerability. Affected versions of mechanize allow for OS commands to be injected using several classes' methods which implicitly use Ruby's Kernel.open method. Exploitation is possible only if untrusted input is used as a local filename and passed to any of these calls: Mechanize::CookieJar#load, Mechanize::CookieJar#save_as, Mechanize#download, Mechanize::Download#save, Mechanize::File#save, and Mechanize::FileResponse#read_body. This is fixed in version 2.7.7.

CVSS3: 7.4
debian
около 5 лет назад

Mechanize is an open-source ruby library that makes automated web inte ...

CVSS3: 7.4
github
около 5 лет назад

Command Injection Vulnerability in Mechanize

EPSS

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

7.4 High

CVSS3

8.3 High

CVSS3

7.6 High

CVSS2

Дефекты

CWE-78
CWE-78