GLSA-200901-02 : JHead: Multiple vulnerabilities

critical Nessus Plugin ID 35346

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-200901-02 (JHead: Multiple vulnerabilities)

Marc Merlin and John Dong reported multiple vulnerabilities in JHead:
A buffer overflow in the DoCommand() function when processing the cmd argument and related to potential string overflows (CVE-2008-4575).
An insecure creation of a temporary file (CVE-2008-4639).
A error when unlinking a file (CVE-2008-4640).
Insufficient escaping of shell metacharacters (CVE-2008-4641).
Impact :

A remote attacker could possibly execute arbitrary code by enticing a user or automated system to open a file with a long filename or via unspecified vectors. It is also possible to trick a user into deleting or overwriting files.
Workaround :

There is no known workaround at this time.

Solution

All JHead users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=media-gfx/jhead-2.84-r1'

See Also

https://security.gentoo.org/glsa/200901-02

Plugin Details

Severity: Critical

ID: 35346

File Name: gentoo_GLSA-200901-02.nasl

Version: 1.13

Type: local

Published: 1/12/2009

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:jhead, cpe:/o:gentoo:linux

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

Patch Publication Date: 1/11/2009

Reference Information

CVE: CVE-2008-4575, CVE-2008-4639, CVE-2008-4640, CVE-2008-4641

CWE: 119, 20, 59

GLSA: 200901-02