GLSA-200409-13 : LHa: Multiple vulnerabilities

critical Nessus Plugin ID 14694

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-200409-13 (LHa: Multiple vulnerabilities)

The command line argument as well as the archive parsing code of LHa lack sufficient bounds checking. Furthermore, a shell meta character command execution vulnerability exists in LHa, since it does no proper filtering on directory names.
Impact :

Using a specially crafted command line argument or archive, an attacker can cause a buffer overflow and could possibly run arbitrary code. The shell meta character command execution could lead to the execution of arbitrary commands by an attacker using directories containing shell meta characters in their names.
Workaround :

There is no known workaround at this time.

Solution

All LHa users should upgrade to the latest stable version:
# emerge sync # emerge -pv '>=app-arch/lha-114i-r4' # emerge '>=app-arch/lha-114i-r4'

See Also

https://security.gentoo.org/glsa/200409-13

Plugin Details

Severity: Critical

ID: 14694

File Name: gentoo_GLSA-200409-13.nasl

Version: 1.17

Type: local

Published: 9/9/2004

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Critical

Base Score: 10

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

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:lha, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 9/8/2004

Vulnerability Publication Date: 5/15/2004

Reference Information

CVE: CVE-2004-0694, CVE-2004-0745, CVE-2004-0769, CVE-2004-0771

GLSA: 200409-13