Gentoo Archives: gentoo-announce

From: Sean Amoss <ackle@g.o>
To: gentoo-announce@g.o
Subject: [gentoo-announce] [ GLSA 201209-16 ] SQLAlchemy: SQL injection
Date: Wed, 26 Sep 2012 22:27:45
Message-Id: 50637EEC.7080102@gentoo.org
1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2 Gentoo Linux Security Advisory GLSA 201209-16
3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4 http://security.gentoo.org/
5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
6
7 Severity: Normal
8 Title: SQLAlchemy: SQL injection
9 Date: September 26, 2012
10 Bugs: #407437
11 ID: 201209-16
12
13 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
14
15 Synopsis
16 ========
17
18 An input sanitation flaw in SQLAlchemy allows remote attacker to
19 conduct SQL injection.
20
21 Background
22 ==========
23
24 SQLAlchemy is a Python SQL toolkit and Object Relational Mapper.
25
26 Affected packages
27 =================
28
29 -------------------------------------------------------------------
30 Package / Vulnerable / Unaffected
31 -------------------------------------------------------------------
32 1 dev-python/sqlalchemy < 0.7.4 >= 0.7.4
33
34 Description
35 ===========
36
37 SQLAlchemy does not properly sanitize input passed from the "limit" and
38 "offset" keywords to the select() function before using it in an SQL
39 query.
40
41 Impact
42 ======
43
44 A remote attacker could exploit this vulnerability to execute arbitrary
45 SQL statements.
46
47 Workaround
48 ==========
49
50 There is no known workaround at this time.
51
52 Resolution
53 ==========
54
55 All SQLAlchemy users should upgrade to the latest version:
56
57 # emerge --sync
58 # emerge --ask --oneshot --verbose ">=dev-python/sqlalchemy-0.7.4"
59
60 References
61 ==========
62
63 [ 1 ] CVE-2012-0805
64 http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-0805
65
66 Availability
67 ============
68
69 This GLSA and any updates to it are available for viewing at
70 the Gentoo Security Website:
71
72 http://security.gentoo.org/glsa/glsa-201209-16.xml
73
74 Concerns?
75 =========
76
77 Security is a primary focus of Gentoo Linux and ensuring the
78 confidentiality and security of our users' machines is of utmost
79 importance to us. Any security concerns should be addressed to
80 security@g.o or alternatively, you may file a bug at
81 https://bugs.gentoo.org.
82
83 License
84 =======
85
86 Copyright 2012 Gentoo Foundation, Inc; referenced text
87 belongs to its owner(s).
88
89 The contents of this document are licensed under the
90 Creative Commons - Attribution / Share Alike license.
91
92 http://creativecommons.org/licenses/by-sa/2.5

Attachments

File name MIME type
signature.asc application/pgp-signature