Alerts This Week
Warning Icon 1 631
Alerts This Week
Warning Icon 1 631

Debian LTS DLA-3149-1 Critical: Nokogiri Command Injection & XXE Issues

debian lts
Calendar Grey October 12, 2022
Dist Debian Esm H88
Nokogiri experienced multiple security flaws leading to potential command execution, XML parameter injection, and service disruption issues within Debian.
Multiple vulnerabilities were discovered in Nokogiri, an HTML/XML/SAX/Reader parser for the Ruby programming language, leading to command injection, XML external entity injection (...

Summary

CVE-2019-5477

A command injection vulnerability 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.

CVE-2020-26247

XXE vulnerability: XML Schemas parsed by Nokogiri::XML::Schema are
trusted by default, allowing external resources to be accessed
over the network, potentially enabling XXE or SSRF attacks. This
behavior is counter to the security policy followed by Nokogiri
maintainers, which is to treat all input as untrusted by default
whenever possible.

CVE-2022-24836

Nokogiri contains an inefficient regular expression that is
susceptible to excessive backtracking when attempting to detect

Read the Full Advisory


Severity
critical
Lowest
Low
Medium
High
Critical

Package: ruby-nokogiri
Version: 1.10.0+dfsg1-2+deb10u1
CVE ID: CVE-2019-5477 CVE-2020-26247 CVE-2022-24836
Debian Bug: 934802 978967 1009787

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.

Related News

Your message here