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

Type: local

Published: 9/27/2012

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

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 Ease: No known exploits are available

Patch Publication Date: 9/26/2012

Reference Information

CVE: CVE-2012-0805

BID: 52330

GLSA: 201209-16