Debian DLA-2431-2 : libonig regression update

high Nessus Plugin ID 142546

Synopsis

The remote Debian host is missing a security update.

Description

It was discovered that CVE-2020-26159 in the Oniguruma regular expressions library, notably used in PHP mbstring, was a false-positive. In consequence the patch for CVE-2020-26159 was reverted. For reference, the original advisory text follows.

CVE-2020-26159

In Oniguruma an attacker able to supply a regular expression for compilation may be able to overflow a buffer by one byte in concat_opt_exact_str in src/regcomp.c

For Debian 9 stretch, this problem has been fixed in version 6.1.3-2+deb9u2.

We recommend that you upgrade your libonig packages.

For the detailed security status of libonig please refer to its security tracker page at:
https://security-tracker.debian.org/tracker/libonig

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, libonig4, and libonig4-dbg packages.

See Also

https://lists.debian.org/debian-lts-announce/2021/01/msg00025.html

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

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

Plugin Details

Severity: High

ID: 142546

File Name: debian_DLA-2431.nasl

Version: 1.3

Type: local

Agent: unix

Published: 11/6/2020

Updated: 2/1/2021

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

Risk Information

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-2020-26159

CVSS v3

Risk Factor: High

Base Score: 8.6

Temporal Score: 7.5

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

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

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:libonig4, p-cpe:/a:debian:debian_linux:libonig-dev, cpe:/o:debian:debian_linux:9.0, p-cpe:/a:debian:debian_linux:libonig4-dbg

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

Exploit Ease: No known exploits are available

Patch Publication Date: 1/30/2021

Vulnerability Publication Date: 9/30/2020

Reference Information

CVE: CVE-2020-26159