GLSA-200501-07 : xine-lib: Multiple overflows

This script is Copyright (C) 2005-2014 Tenable Network Security, Inc.


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-200501-07
(xine-lib: Multiple overflows)

Ariel Berkman discovered that xine-lib reads specific input data
into an array without checking the input size in demux_aiff.c, making
it vulnerable to a buffer overflow (CAN-2004-1300) . iDefense
discovered that the PNA_TAG handling code in pnm_get_chunk() does not
check if the input size is larger than the buffer size (CAN-2004-1187).
iDefense also discovered that in this same function, a negative value
could be given to an unsigned variable that specifies the read length
of input data (CAN-2004-1188).

Impact :

A remote attacker could craft a malicious movie or convince a
targeted user to connect to a malicious PNM server, which could result
in the execution of arbitrary code with the rights of the user running
any xine-lib frontend.

Workaround :

There is no known workaround at this time.

See also :

http://www.nessus.org/u?f8cbc267
http://www.nessus.org/u?1ec1b810
http://www.nessus.org/u?b8a7e424
http://www.gentoo.org/security/en/glsa/glsa-200501-07.xml

Solution :

All xine-lib users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose media-libs/xine-lib

Risk factor :

Critical / CVSS Base Score : 10.0
(CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C)

Family: Gentoo Local Security Checks

Nessus Plugin ID: 16398 (gentoo_GLSA-200501-07.nasl)

Bugtraq ID:

CVE ID: CVE-2004-1187
CVE-2004-1188
CVE-2004-1300