CVE-2019-5477: canonical ubuntu_linux
Vulnerability summary
CVE-2019-5477 is a critical (CVSS 9.8) vulnerability in canonical ubuntu_linux. EPSS estimates a 5.90% chance of exploitation in the next 30 days, higher than 93.2% of scored vulnerabilities.
Severe, CVSS 9.8 (NVD); no exploitation reported by the 5 checked sources; EPSS 6% (FIRST, 03-11-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 12 · Related 10Timeline
- 16-08-2019PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
6 scores · 5 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · RubygemsEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · AlpineEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
5.90%
Chance of exploitation in the next 30 days
Percentile
93%
Versus all other CVEs
30-day change
No change 0.00 pp
From 5.90% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Debian3 products
- rexical< 1.0.7-1 | < 1.0.5-2+deb10u1
- ruby-nokogiri< 1.10.4+dfsg1-1 | < 1.6.3.1+ds-1+deb8u1
- debian_linuxEOL8.0 | 10.0
RubyGems2 products
- nokogiri< 1.10.4
- rexical< 1.0.7
Alpine1 product
- ruby-nokogiri< 1.10.4-r0
Canonical1 product
- ubuntu_linuxEOL16.04 | 18.04 | 19.04 | 19.10
Nokogiri1 product
- nokogiri≤ 1.10.3
Ubuntu1 product
- ruby-nokogiri< 1.6.1+ds-1ubuntu0.1~esm1 | < 1.6.7.2-3ubuntu0.1 | < 1.8.2-1ubuntu0.1
6 vendors · 9 products