GLSA-201209-16 : SQLAlchemy: SQL injection

High Nessus Plugin ID 62345


The remote Gentoo host is missing one or more security-related patches.


The remote host is affected by the vulnerability described in GLSA-201209-16 (SQLAlchemy: SQL injection)

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.


All SQLAlchemy users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=dev-python/sqlalchemy-0.7.4'

See Also

Plugin Details

Severity: High

ID: 62345

File Name: gentoo_GLSA-201209-16.nasl

Version: $Revision: 1.6 $

Type: local

Published: 2012/09/27

Modified: 2016/05/16

Dependencies: 12634

Risk Information

Risk Factor: High


Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Temporal Vector: CVSS2#E:ND/RL:OF/RC:C

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:sqlalchemy, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2012/09/26

Reference Information

CVE: CVE-2012-0805

BID: 52330

OSVDB: 79864

GLSA: 201209-16