PT-2019-4784
CVE-2019-5477
·
تاريخ النشر
2019-08-16
·
تاريخ التحديث
2026-10-31
الوصف من
CVSS 3.1
10
حرجةالمقاييسAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
Nokogiri versions 1.10.3 and earlier
Rexical versions 1.0.6 and earlier
Description
A command injection issue allows commands to be executed in a subprocess via Ruby's
Kernel.open method. This occurs when the undocumented method Nokogiri::CSS::Tokenizer#load file is called with unsafe user input as the filename. The vulnerability is related to the Rexical gem, which is used by Nokogiri to generate lexical scanner code for parsing CSS queries.Recommendations
For Nokogiri versions 1.10.3 and earlier, update to Nokogiri v1.10.4 or later, which includes the upgraded Rexical version that addresses the underlying vulnerability.
For Rexical versions 1.0.6 and earlier, update to Rexical v1.0.7 or later to resolve the issue.
As a temporary workaround, consider avoiding the use of the
Nokogiri::CSS::Tokenizer#load file method with user-inputted filenames until a patch is applied.قابلية الاستغلال
استغلال
إصلاح
التأثيرات
المورّدون
المنتجات المتأثرة
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾