CRITICAL SEVERITY

CVE-2019-5477

Nokogiri vulnerability

CVSS
9.8
EPSS
5.9%
EPSS pct
92th
Exploited
No known
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.
Affected vendor
Nokogiri
Affected product
Nokogiri
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness type (CWE)
  • CWE-78 — OS Command Injection
Published
2019-08-16

Risk analysis

Based on its CVSS vector, this vulnerability is exploitable over the network, low attack complexity, requiring no privileges, no user interaction. Successful exploitation leads to high impact to confidentiality, high impact to integrity, high impact to availability.

Its EPSS score of 5.9% reflects a lower probability of exploitation activity in the wild over the next 30 days, placing it above 92% of all scored CVEs.

Check your external exposure to CVE-2019-5477

  • Confirm whether Nokogiri Nokogiri is running on any internet-facing host or subdomain.
  • Match discovered service fingerprints against the version affected by CVE-2019-5477.
  • Prioritise remediation if the asset is public, business-critical, or near authentication/payment flows.

How ThreatPort helps with CVE-2019-5477

ThreatPort's external attack surface scanner checks your internet-facing assets — agentlessly, from the outside in — for the exposed services and versions that CVE-2019-5477 affects, then prioritises the finding by real risk using CISA KEV and FIRST.org EPSS.

Run a free external exposure scan

Are you exposed to CVE-2019-5477?

Run an instant, non-intrusive external scan to check your attack surface for CVE-2019-5477.

Start free scan

No credit card. Agentless.