Overly broad permissions can turn one compromised account into a much larger security problem. Learn how to reduce unnecessary access, review privileges, and apply least privilege across modern Linux systems. Review Linux Privileges×

Alerts This Week
Warning Icon 1 524
Alerts This Week
Warning Icon 1 524

Red Hat Enterprise Linux 6 RHSA-2012-0369-01 Moderate: SQL Injection Fix

red hat
Calendar Grey March 7, 2012
Scroller Redhat
The latest release from Red Hat includes a significant patch for python-sqlalchemy, tackling a serious SQL injection vulnerability. It's time to update!
An updated python-sqlalchemy package that fixes one security issue is now available for Red Hat Enterprise Linux 6

Solution

Before applying this update, make sure all previously-released errata relevant to your system have been applied.

This update is available via the Red Hat Network. Details on how to use the Red Hat Network to apply this update are available at https://access.redhat.com/articles/11258

Summary

SQLAlchemy is an Object Relational Mapper (ORM) that provides a flexible, high-level interface to SQL databases.
It was discovered that SQLAlchemy did not sanitize values for the limit and offset keywords for SQL select statements. If an application using SQLAlchemy accepted values for these keywords, and did not filter or sanitize them before passing them to SQLAlchemy, it could allow an attacker to perform an SQL injection attack against the application. (CVE-2012-0805)
All users of python-sqlalchemy are advised to upgrade to this updated package, which contains a patch to correct this issue. All running applications using SQLAlchemy must be restarted for this update to take effect.

References

https://access.redhat.com/security/cve/CVE-2012-0805 https://access.redhat.com/security/updates/classification#moderate

Package List

Red Hat Enterprise Linux Server (v. 6):
Source:
noarch: python-sqlalchemy-0.5.5-3.el6_2.noarch.rpm
Red Hat Enterprise Linux Workstation (v. 6):
Source:
noarch: python-sqlalchemy-0.5.5-3.el6_2.noarch.rpm
These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from https://access.redhat.com/security/team/key#package


Advisory ID: RHSA-2012:0369-01
Product: Red Hat Enterprise Linux
Issue date: 2012-03-07

Topic

An updated python-sqlalchemy package that fixes one security issue is nowavailable for Red Hat Enterprise Linux 6.The Red Hat Security Response Team has rated this update as having moderatesecurity impact. A Common Vulnerability Scoring System (CVSS) base score,which gives a detailed severity rating, is available from the CVE link inthe References section.

Relevant Releases Architectures

Red Hat Enterprise Linux Server (v. 6) - noarch

Red Hat Enterprise Linux Workstation (v. 6) - noarch

Bugs Fixed

783305 - CVE-2012-0805 python-sqlalchemy: SQL injection flaw due to not checking LIMIT input for correct type

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.