portage-ng / portage / dev-python / sqlalchemy / 2.0.53
portage-ng glsa
1 advisory reference dev-python/sqlalchemy · none place version 2.0.53 in a vulnerable range
▸ GLSA 201209-16 SQLAlchemy: SQL injection this version unaffected normal remote 2012-09-26

An input sanitation flaw in SQLAlchemy allows remote attacker to conduct SQL injection.

Announced
2012-09-26
Revised
2012-09-26
Access
remote
Bugs
#407437
Advisory
https://security.gentoo.org/glsa/201209-16

Affected packages

PackageArchVulnerableUnaffected
dev-python/sqlalchemy*< 0.7.4>= 0.7.4

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.

Workaround

There is no known workaround at this time.

Resolution

All SQLAlchemy users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-python/sqlalchemy-0.7.4"

References