PT-2021-14392

CVE-2021-21289

·

تاريخ النشر

2021-02-02

·

تاريخ التحديث

2026-11-17

الوصف من

CVSS 3.1
8.3
عالية
المقاييسAV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions: Mechanize versions 2.0.0 through 2.7.6
Description: Mechanize is an open-source ruby library that makes automated web interaction easy. 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.
Recommendations: To resolve the issue, update to Mechanize version 2.7.7 or later. As a temporary workaround, consider avoiding the use of untrusted input as a local filename when calling the affected methods. Restrict access to the vulnerable classes and methods to minimize the risk of exploitation. Avoid using the affected methods with untrusted input until the issue is resolved.
قابلية الاستغلال
استغلال
إصلاح
التأثيرات
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
GHSA-QRQM-FPV6-6R8G
DLA-2561-1
MGASA-2021-0124
USN-9148-1
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾