Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 174200 - net-misc/tightvnc includes vulnerable X.Org code (CVE-2007-{135{1|2}|1003})
Summary: net-misc/tightvnc includes vulnerable X.Org code (CVE-2007-{135{1|2}|1003})
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Security
URL: http://www.securityfocus.com/archive/...
Whiteboard: B1? [glsa] jaervosz
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-11 19:58 UTC by Sune Kloppenborg Jeppesen (RETIRED)
Modified: 2007-05-08 20:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2007-04-11 19:58:01 UTC
Seems like it shares some of the same code making it vulnerable to issue on bug #172575.

Mandriva Linux Security Advisory MDKSA-2007:080-1
 http://www.mandriva.com/security/
 _______________________________________________________________________
 
 Package : tightvnc
 Date : April 10, 2007
 Affected: 2007.1
 _______________________________________________________________________
 
 Problem Description:
 
 Local exploitation of a memory corruption vulnerability in the X.Org
 and XFree86 X server could allow an attacker to execute arbitrary
 code with privileges of the X server, typically root.
 
 The vulnerability exists in the ProcXCMiscGetXIDList() function in the
 XC-MISC extension. This request is used to determine what resource IDs
 are available for use. This function contains two vulnerabilities,
 both result in memory corruption of either the stack or heap. The
 ALLOCATE_LOCAL() macro used by this function allocates memory on the
 stack using alloca() on systems where alloca() is present, or using
 the heap otherwise. The handler function takes a user provided value,
 multiplies it, and then passes it to the above macro. This results in
 both an integer overflow vulnerability, and an alloca() stack pointer
 shifting vulnerability. Both can be exploited to execute arbitrary
 code. (CVE-2007-1003)
 
 iDefense reported two integer overflows in the way X.org handled
 various font files. A malicious local user could exploit these issues
 to potentially execute arbitrary code with the privileges of the
 X.org server. (CVE-2007-1351, CVE-2007-1352)
 
 TightVNC uses some of the same code base as Xorg, and has the same
 vulnerable code.
 
 Updated packages are patched to address these issues.
 
 Update:
 
 Packages for Mandriva Linux 2007.1 are now available.
 _______________________________________________________________________
 
 References:
 
 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-1003
 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-1351
 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-1352
 _____________________________________________________
Comment 1 Raúl Porcel (RETIRED) gentoo-dev 2007-04-11 20:55:18 UTC
net-misc/tightvnc-1.2.9-r4 in the tree with those security fixes.
Comment 2 Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2007-04-11 21:00:40 UTC
Thx Raul.

Arches please test and mark stable. Target keywords are:

tightvnc-1.2.9-r4.ebuild:KEYWORDS="alpha amd64 ppc sparc x86"
Comment 3 Markus Ullmann (RETIRED) gentoo-dev 2007-04-11 21:03:33 UTC
We're stable on x86 :D
Comment 4 Peter Weller (RETIRED) gentoo-dev 2007-04-12 06:39:45 UTC
amd64 stable
Comment 5 Raúl Porcel (RETIRED) gentoo-dev 2007-04-12 08:19:45 UTC
hppa, you need to stabilize =net-misc/tightvnc-1.3.8-r1

Thanks
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2007-04-12 20:34:58 UTC
net-misc/tightvnc-1.3.8-r1 stable for HPPA.
Comment 7 Gustavo Zacarias (RETIRED) gentoo-dev 2007-04-13 15:03:08 UTC
sparc stable.
Comment 8 Tobias Scherbaum (RETIRED) gentoo-dev 2007-04-13 15:45:04 UTC
ppc stable
Comment 9 Bryan Østergaard (RETIRED) gentoo-dev 2007-04-16 23:17:38 UTC
Alpha stable.
Comment 10 Raphael Marichez (Falco) (RETIRED) gentoo-dev 2007-05-08 20:06:32 UTC
GLSA 200705-10 with bug 172575 (libXfont), thanks everybody.