CVE-2019-5477
Summary
| CVE | CVE-2019-5477 |
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2019-08-16 16:15:00 UTC |
| Updated | 2022-10-14 18:46:00 UTC |
| 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. |
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|
| USN-4175-1: Nokogiri vulnerability | Ubuntu security notices | Ubuntu |
UBUNTU |
usn.ubuntu.com |
Third Party Advisory |
| CVE-2019-5477 - Nokogiri Command Injection Vulnerability · Issue #1915 · sparklemotion/nokogiri · GitHub |
CONFIRM |
github.com |
Patch, Third Party Advisory |
| [SECURITY] [DLA 3149-1] ruby-nokogiri security update |
MLIST |
lists.debian.org |
|
| HackerOne |
MISC |
hackerone.com |
Permissions Required |
| Nokogiri: Command injection (GLSA 202006-05) — Gentoo security |
GENTOO |
security.gentoo.org |
Third Party Advisory |
| [SECURITY] [DLA 3150-1] rexical security update |
MLIST |
lists.debian.org |
|
| rexical/CHANGELOG.rdoc at master · tenderlove/rexical · GitHub |
MISC |
github.com |
Release Notes |
| [SECURITY] [DLA 1933-1] ruby-nokogiri security update |
MLIST |
lists.debian.org |
Mailing List, Third Party Advisory |
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 181133 Debian Security Update for rexical (DLA 3150-1)
- 181134 Debian Security Update for ruby-nokogiri (DLA 3149-1)
- 501236 Alpine Linux Security Update for ruby-nokogiri
- 505378 Alpine Linux Security Update for ruby-nokogiri
- 750375 OpenSUSE Security Update for rubygem-nokogiri (openSUSE-SU-2021:0237-1)