CVE-2012-0805Sqlalchemy
High 7.5 No auth needed
Follow: this CVE · Sqlalchemy · Sqlalchemy We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 2.0
- 7.5
- EPSS
- 2.8% probability of exploitation in 30 days · percentile 87
- Auth required
- No
- Published
- Jun 5, 2012
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-89
- Vector
AV:N/AC:L/Au:N/C:P/I:P/A:P
What happens
Multiple SQL injection vulnerabilities in SQLAlchemy before 0.7.0b4, as used in Keystone, allow remote attackers to execute arbitrary SQL commands via the (1) limit or (2) offset keyword to the select function, or unspecified vectors to the (3) select.limit or (4) select.offset function.
What to do
- Apply the vendor's security update for Sqlalchemy.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | sqlalchemy |
< 0.7.0b4 |
0.7.0b4 |
pip install "sqlalchemy>=0.7.0b4" |
| PyPI | sqlalchemy |
< 0.7.0 |
0.7.0 |
pip install "sqlalchemy>=0.7.0" |
Per OSV / GitHub Advisories (GHSA-hfg2-wf6j-x53p, PYSEC-2012-9). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| sqlalchemy | sqlalchemy | ≤ 0.7.0 |
| sqlalchemy | sqlalchemy | 0.6.0 |
| sqlalchemy | sqlalchemy | 0.6.0 |
| sqlalchemy | sqlalchemy | 0.6.0 |
| sqlalchemy | sqlalchemy | 0.6.0 |
| sqlalchemy | sqlalchemy | 0.6.1 |
| sqlalchemy | sqlalchemy | 0.6.2 |
| sqlalchemy | sqlalchemy | 0.6.3 |
| sqlalchemy | sqlalchemy | 0.6.4 |
| sqlalchemy | sqlalchemy | 0.6.5 |
| sqlalchemy | sqlalchemy | 0.6.6 |
| sqlalchemy | sqlalchemy | 0.6.7 |
| sqlalchemy | sqlalchemy | 0.7.0 |
| sqlalchemy | sqlalchemy | 0.7.0 |
Official sources
References
Links published by the sources. Open them with care.
- rhn.redhat.com
- secunia.com Vendor Advisory
- secunia.com Vendor Advisory
- secunia.com Vendor Advisory
- www.debian.org
- www.mandriva.com
- www.sqlalchemy.org
- www.sqlalchemy.org Exploit Patch
- bugs.launchpad.net
- exchange.xforce.ibmcloud.com