CVE-2019-5477
high-risk
Published 2019-08-16
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.
Do I need to act?
~
6.1% chance of exploitation in next 30 days
EPSS score — moderate exploit probability
-
Not on CISA KEV list
No confirmed active exploitation reported to CISA
?
Patch status unknown
Check vendor advisories for fix availability and mitigation guidance
9
CVSS 9.8/10
Critical
NETWORK
/ LOW complexity
Affected Products (7)
References (16)
Permissions Required
https://hackerone.com/reports/650835
Third Party Advisory
https://security.gentoo.org/glsa/202006-05
Third Party Advisory
https://usn.ubuntu.com/4175-1/
Permissions Required
https://hackerone.com/reports/650835
Third Party Advisory
https://security.gentoo.org/glsa/202006-05
Third Party Advisory
https://usn.ubuntu.com/4175-1/
55
/ 100
high-risk
Severity
32/34 · Critical
Exploitability
9/34 · Low
Exposure
14/34 · Moderate