Debian DLA-3150-1 : rexical - LTS security update

critical Nessus Plugin ID 166068

Synopsis

The remote Debian host is missing a security-related update.

Description

The remote Debian 10 host has a package installed that is affected by a vulnerability as referenced in the dla-3150 advisory.

- 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.
(CVE-2019-5477)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade the rexical packages.

For Debian 10 buster, this problem has been fixed in version 1.0.5-2+deb10u1.

See Also

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=940905

https://security-tracker.debian.org/tracker/source-package/rexical

https://www.debian.org/lts/security/2022/dla-3150

https://security-tracker.debian.org/tracker/CVE-2019-5477

https://packages.debian.org/source/buster/rexical

Plugin Details

Severity: Critical

ID: 166068

File Name: debian_DLA-3150.nasl

Version: 1.2

Type: local

Agent: unix

Published: 10/12/2022

Updated: 10/12/2022

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2019-5477

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:rexical, cpe:/o:debian:debian_linux:10.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Ease: No known exploits are available

Patch Publication Date: 10/12/2022

Vulnerability Publication Date: 8/16/2019

Reference Information

CVE: CVE-2019-5477