CVE-2012-0805
Description
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Mitigation details
CVE-2012-0805 NameCVE-2012-0805 DescriptionMultiple 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. SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debianβ¦
CVE-2012-0805
| Name | CVE-2012-0805 |
| Description | 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DSA-2449-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| sqlalchemy (PTS) | bullseye | 1.3.22+ds1-1 | fixed |
| bookworm | 1.4.46+ds1-1 | fixed | |
| trixie | 2.0.40+ds1-1 | fixed | |
| forky, sid | 2.0.48+ds1-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| sqlalchemy | source | squeeze | 0.6.3-3+squeeze1 | DSA-2449-1 | ||
| sqlalchemy | source | (unstable) | 0.6.7-1 |
OS impact
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 0.6.7-1 |
| sid | Fixed | 0.6.7-1 |
| forky | Fixed | 0.6.7-1 |
| bullseye | Fixed | 0.6.7-1 |
| bookworm | Fixed | 0.6.7-1 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| PyPI | sqlalchemy | <0.7.0b4 | 0.7.0b4 |
| PyPI | sqlalchemy | <0.7.0 | 0.7.0 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| sqlalchemy | sqlalchemy | {"endIncluding":"0.7.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 | |
References
- http://rhn.redhat.com/errata/RHSA-2012-0369.html
- http://secunia.com/advisories/48327
- http://secunia.com/advisories/48328
- http://secunia.com/advisories/48771
- http://www.debian.org/security/2012/dsa-2449
- http://www.mandriva.com/security/advisories?name=MDVSA-2012:059
- http://www.sqlalchemy.org/changelog/CHANGES_0_7_0
- http://www.sqlalchemy.org/trac/changeset/852b6a1a87e7/
- https://bugs.launchpad.net/keystone/+bug/918608
- https://exchange.xforce.ibmcloud.com/vulnerabilities/73756
- https://nvd.nist.gov/vuln/detail/CVE-2012-0805
- https://github.com/sqlalchemy/sqlalchemy/commit/51fea2e159ca93daa0bc8066a5c35d8436d99418
- https://github.com/pypa/advisory-database/tree/main/vulns/sqlalchemy/PYSEC-2012-9.yaml
- https://github.com/sqlalchemy/sqlalchemy
- https://web.archive.org/web/20140721183117/http://secunia.com/advisories/48771
- https://web.archive.org/web/20140802043526/http://secunia.com/advisories/48328
- https://web.archive.org/web/20140802044957/http://secunia.com/advisories/48327
- http://www.sqlalchemy.org/trac/changeset/852b6a1a87e7
- https://security-tracker.debian.org/tracker/CVE-2012-0805
CWEs
CWE-89
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.