Gentoo Archives: gentoo-announce

From: Raphael Marichez <falco@g.o>
To: gentoo-announce@l.g.o
Cc: bugtraq@×××××××××××××.com, full-disclosure@××××××××××××××.uk, security-alerts@×××××××××××××.com
Subject: [gentoo-announce] [ GLSA 200610-07 ] Python: Buffer Overflow
Date: Tue, 17 Oct 2006 20:50:42
Message-Id: 20061017203042.GA6371@falco.falcal.net
1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2 Gentoo Linux Security Advisory GLSA 200610-07
3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4 http://security.gentoo.org/
5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
6
7 Severity: Normal
8 Title: Python: Buffer Overflow
9 Date: October 17, 2006
10 Bugs: #149065
11 ID: 200610-07
12
13 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
14
15 Synopsis
16 ========
17
18 A buffer overflow in Python's "repr()" function can be exploited to
19 cause a Denial of Service and potentially allows the execution of
20 arbitrary code.
21
22 Background
23 ==========
24
25 Python is an interpreted, interactive, object-oriented, cross-platform
26 programming language.
27
28 Affected packages
29 =================
30
31 -------------------------------------------------------------------
32 Package / Vulnerable / Unaffected
33 -------------------------------------------------------------------
34 1 dev-lang/python < 2.4.3-r4 >= 2.4.3-r4
35 *>= 2.3.5-r3
36
37 Description
38 ===========
39
40 Benjamin C. Wiley Sittler discovered a buffer overflow in Python's
41 "repr()" function when handling UTF-32/UCS-4 encoded strings.
42
43 Impact
44 ======
45
46 If a Python application processes attacker-supplied data with the
47 "repr()" function, this could potentially lead to the execution of
48 arbitrary code with the privileges of the affected application or a
49 Denial of Service.
50
51 Workaround
52 ==========
53
54 There is no known workaround at this time.
55
56 Resolution
57 ==========
58
59 All Python users should update to the latest version:
60
61 # emerge --sync
62 # emerge --ask --oneshot --verbose ">=dev-lang/2.4.3-r4"
63
64 References
65 ==========
66
67 [ 1 ] CVE-2006-4980
68 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-4980
69
70 Availability
71 ============
72
73 This GLSA and any updates to it are available for viewing at
74 the Gentoo Security Website:
75
76 http://security.gentoo.org/glsa/glsa-200610-07.xml
77
78 Concerns?
79 =========
80
81 Security is a primary focus of Gentoo Linux and ensuring the
82 confidentiality and security of our users machines is of utmost
83 importance to us. Any security concerns should be addressed to
84 security@g.o or alternatively, you may file a bug at
85 http://bugs.gentoo.org.
86
87 License
88 =======
89
90 Copyright 2006 Gentoo Foundation, Inc; referenced text
91 belongs to its owner(s).
92
93 The contents of this document are licensed under the
94 Creative Commons - Attribution / Share Alike license.
95
96 http://creativecommons.org/licenses/by-sa/2.5