Joined: 25 Feb 2003
Location: Essen, Germany
|Posted: Thu Jan 06, 2005 12:50 pm Post subject: [ GLSA 200501-07 ] xine-lib: Multiple overflows
|Gentoo Linux Security Advisory
Title: xine-lib: Multiple overflows (GLSA 200501-07)
Date: January 06, 2005
xine-lib contains multiple overflows potentially allowing execution of arbitrary code.
xine-lib is a multimedia library which can be utilized to create multimedia frontends.
Vulnerable: < 1_rc8-r1
Unaffected: >= 1_rc8-r1
Unaffected: >= 1_rc6-r1 < 12
Architectures: All supported architectures
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).
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.
There is no known workaround at this time.
All xine-lib users should upgrade to the latest version:
|# emerge --sync
# emerge --ask --oneshot --verbose media-libs/xine-lib
Ariel Berkman Advisory
Last edited by GLSA on Fri Apr 04, 2008 4:16 am; edited 3 times in total