Tóm tắt nhanh
- CVE-2019-5477 là lỗ hổng mức NGHIÊM TRỌNG (CVSS 9.8) ảnh hưởng nokogiri, rexical, nokogiri (nokogiri).
- Xác suất bị khai thác trong 30 ngày tới (EPSS): 5.9%, cao hơn 93.2% các lỗ hổng khác.
- Cách xử lý: cập nhật lên 1.10.4, 1.0.7 hoặc mới hơn.
| Gói / sản phẩm | Phiên bản bị ảnh hưởng | Phiên bản đã vá |
|---|
| nokogiri RubyGems | < 1.10.4
| 1.10.4
|
| rexical RubyGems | < 1.0.7
| 1.0.7
|
| nokogiri | ≤ 1.10.3
| Chưa có bản vá |
Mô tả
A command injection vulnerability in Nokogiri v1.10.3 and earlier allows commands to be executed in a subprocess via Ruby's Kernel.open method. Processes are vulnerable only if the undocumented method Nokogiri::CSS::Tokenizer#load_file is being called with unsafe user input as the filename. This vulnerability appears in code generated by the Rexical gem versions v1.0.6 and earlier. Rexical is used by Nokogiri to generate lexical scanner code for parsing CSS queries. The underlying vulnerability was addressed in Rexical v1.0.7 and Nokogiri upgraded to this version of Rexical in Nokogiri v1.10.4.
Mô tả của NVD
A command injection vulnerability in Nokogiri v1.10.3 and earlier allows commands to be executed in a subprocess via Ruby's `Kernel.open` method. Processes are vulnerable only if the undocumented method `Nokogiri::CSS::Tokenizer#load_file` is being called with unsafe user input as the filename. This vulnerability appears in code generated by the Rexical gem versions v1.0.6 and earlier. Rexical is used by Nokogiri to generate lexical scanner code for parsing CSS queries. The underlying vulnerability was addressed in Rexical v1.0.7 and Nokogiri upgraded to this version of Rexical in Nokogiri v1.10.4.
Bạn đang dùng một trong các sản phẩm này? Quét site để biết có đang lộ phiên bản có lỗ hổng không.
Quét site miễn phí