CVE-2019-5477

Source
https://nvd.nist.gov/vuln/detail/CVE-2019-5477
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-5477.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2019-5477
Aliases
Related
Published
2019-08-16T16:15:10Z
Modified
2024-09-18T01:00:21Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Debian:11 / rexical

Package

Name
rexical
Purl
pkg:deb/debian/rexical?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.0.7-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / rexical

Package

Name
rexical
Purl
pkg:deb/debian/rexical?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.0.7-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / rexical

Package

Name
rexical
Purl
pkg:deb/debian/rexical?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.0.7-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:11 / ruby-nokogiri

Package

Name
ruby-nokogiri
Purl
pkg:deb/debian/ruby-nokogiri?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.10.4+dfsg1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / ruby-nokogiri

Package

Name
ruby-nokogiri
Purl
pkg:deb/debian/ruby-nokogiri?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.10.4+dfsg1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / ruby-nokogiri

Package

Name
ruby-nokogiri
Purl
pkg:deb/debian/ruby-nokogiri?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.10.4+dfsg1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}