GLSA Advocate
Joined: 12 May 2004 Posts: 2663
|
Posted: Wed Sep 26, 2012 11:26 pm Post subject: [ GLSA 201209-16 ] SQLAlchemy: SQL injection |
|
|
Gentoo Linux Security Advisory
Title: SQLAlchemy: SQL injection (GLSA 201209-16)
Severity: normal
Exploitable: remote
Date: September 26, 2012
Bug(s): #407437
ID: 201209-16
Synopsis
An input sanitation flaw in SQLAlchemy allows remote attacker to
conduct SQL injection.
Background
SQLAlchemy is a Python SQL toolkit and Object Relational Mapper.
Affected Packages
Package: dev-python/sqlalchemy
Vulnerable: < 0.7.4
Unaffected: >= 0.7.4
Architectures: All supported architectures
Description
SQLAlchemy does not properly sanitize input passed from the “limit”
and “offset” keywords to the select() function before using it in an
SQL query.
Impact
A remote attacker could exploit this vulnerability to execute arbitrary
SQL statements.
Workaround
There is no known workaround at this time.
Resolution
All SQLAlchemy users should upgrade to the latest version: Code: | # emerge --sync
# emerge --ask --oneshot --verbose ">=dev-python/sqlalchemy-0.7.4"
|
References
CVE-2012-0805 |
|