SQLAlchemy: SQL injection
1.
Gentoo Linux Security Advisory
Version Information
| Advisory Reference |
GLSA 201209-16 / sqlalchemy |
| Release Date |
September 26, 2012 |
| Latest Revision |
September 26, 2012: 1 |
| Impact |
normal |
| Exploitable |
remote |
| Package |
Vulnerable versions |
Unaffected versions |
Architecture(s) |
| dev-python/sqlalchemy |
<
0.7.4 |
>=
0.7.4 |
All supported architectures
|
Related bugreports:
#407437
Synopsis
An input sanitation flaw in SQLAlchemy allows remote attacker to
conduct SQL injection.
2.
Impact Information
Background
SQLAlchemy is a Python SQL toolkit and Object Relational Mapper.
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.
3.
Resolution Information
Workaround
There is no known workaround at this time.
Resolution
All SQLAlchemy users should upgrade to the latest version:
Code Listing 3.1: Resolution |
# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-python/sqlalchemy-0.7.4"
|
4.
References
|