Debian DLA-1854-1 : libonig security update

critical Nessus Plugin ID 126793

Synopsis

The remote Debian host is missing a security update.

Description

A use-after-free in onig_new_deluxe() in regext.c allows attackers to potentially cause information disclosure, denial of service, or possibly code execution by providing a crafted regular expression. The attacker provides a pair of a regex pattern and a string, with a multi-byte encoding that gets handled by onig_new_deluxe().

For Debian 8 'Jessie', this problem has been fixed in version 5.9.5-3.2+deb8u2.

We recommend that you upgrade your libonig packages.

NOTE: Tenable Network Security has extracted the preceding description block directly from the DLA security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

Upgrade the affected libonig-dev, libonig2, and libonig2-dbg packages.

See Also

https://lists.debian.org/debian-lts-announce/2019/07/msg00013.html

https://packages.debian.org/source/jessie/libonig

Plugin Details

Severity: Critical

ID: 126793

File Name: debian_DLA-1854.nasl

Version: 1.4

Type: local

Agent: unix

Published: 7/19/2019

Updated: 1/11/2021

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, 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 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:libonig-dev, p-cpe:/a:debian:debian_linux:libonig2, p-cpe:/a:debian:debian_linux:libonig2-dbg, cpe:/o:debian:debian_linux:8.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: 7/17/2019

Vulnerability Publication Date: 7/10/2019

Reference Information

CVE: CVE-2019-13224