Debian DLA-1302-1 : leptonlib security update

critical Nessus Plugin ID 107152

Synopsis

The remote Debian host is missing a security update.

Description

Different flaws have been found in leptonlib, an image processing library.

CVE-2018-7186

Leptonica did not limit the number of characters in a %s format argument to fscanf or sscanf, that made it possible to remote attackers to cause a denial of service (stack-based buffer overflow) or possibly have unspecified other impact via a long string.

CVE-2018-7440

The gplotMakeOutput function allowed command injection via a $(command) approach in the gplot rootname argument. This issue existed because of an incomplete fix for CVE-2018-3836.

For Debian 7 'Wheezy', these problems have been fixed in version 1.69-3.1+deb7u2.

We recommend that you upgrade your leptonlib 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 packages.

See Also

https://lists.debian.org/debian-lts-announce/2018/03/msg00005.html

https://packages.debian.org/source/wheezy/leptonlib

Plugin Details

Severity: Critical

ID: 107152

File Name: debian_DLA-1302.nasl

Version: 1.7

Type: local

Agent: unix

Published: 3/7/2018

Updated: 1/11/2021

Supported Sensors: Agentless 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 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:leptonica-progs, p-cpe:/a:debian:debian_linux:liblept3, p-cpe:/a:debian:debian_linux:libleptonica-dev, cpe:/o:debian:debian_linux:7.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: 3/7/2018

Reference Information

CVE: CVE-2018-7186, CVE-2018-7440