GLSA-201209-16 : SQLAlchemy: SQL injection

High Nessus Plugin ID 62345

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 “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.

Solution

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

See Also

https://security.gentoo.org/glsa/201209-16

Plugin Details

Severity: High

ID: 62345

File Name: gentoo_GLSA-201209-16.nasl

Version: 1.7

Type: local

Published: 2012/09/27

Updated: 2018/07/11

Dependencies: 12634

Risk Information

Risk Factor: High

CVSS v2.0

Base Score: 7.5

Temporal Score: 5.5

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

Temporal Vector: CVSS2#E:U/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: false

Exploit Ease: No known exploits are available

Patch Publication Date: 2012/09/26

Reference Information

CVE: CVE-2012-0805

BID: 52330

GLSA: 201209-16