GLSA-201209-16 : SQLAlchemy: SQL injection

This script is Copyright (C) 2012-2014 Tenable Network Security, Inc.


Synopsis :

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

Description :

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 &ldquo
limit&rdquo

and &ldquo
offset&rdquo
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.

See also :

http://www.gentoo.org/security/en/glsa/glsa-201209-16.xml

Solution :

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

Risk factor :

High / CVSS Base Score : 7.5
(CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P)
CVSS Temporal Score : 6.2
(CVSS2#E:F/RL:OF/RC:C)
Public Exploit Available : true

Family: Gentoo Local Security Checks

Nessus Plugin ID: 62345 ()

Bugtraq ID: 52330

CVE ID: CVE-2012-0805