← Back to CVE List
Vulnerability Intelligence Report

CVE-2019-5477

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.

No Active Exploit Signals
CVSS Base Score
9.8
CRITICAL
EPSS Probability:5.90%
Executive Threat Verdict
Evaluating...
Evaluating Threat Landscape...
Assessing known weaponization, exploitation telemetry, and federal advisories.
Attack Surface
—
Authentication
—
Weaponization
—
SSVC Action
—

Weaknesses (CWE)

CWE-78 ↗OS Command Injection (CWE-78)

Affected Products & Versions

Vendor Product Affected Versions
nokogiri nokogiri all
canonical ubuntu_linux 16.04, 18.04, 19.04, 19.10
debian debian_linux 8.0, 10.0

References & Technical Advisories

No reference links found.

Threat Intelligence Signals

EPSS Score
5.899%

Identity & Timeline

StatusPUBLISHED
Assigning AuthorityHackerOne · Bug Bounty Provider · USA
Reserved2019-01-04T00:00:00
Published2019-08-16T00:00:00
Patch Date2019-07-20
Last Updated2024-08-04T19:54:53

LINK COPIED TO CLIPBOARD