CVE-2012-0805

high
Published 2012-06-05 · Modified 2024-04-30
CVSS v3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v2
7.5
VIR risk
7.5

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

Exploit likelihood
30%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2012-0805

vendor Authored 2026-05-27

Vendor advisory: secalert@redhat.com — http://www.sqlalchemy.org/trac/changeset/852b6a1a87e7/

vendor Authored 2026-05-27

Vendor advisory: secalert@redhat.com — http://secunia.com/advisories/48771

vendor Authored 2026-05-27

Vendor advisory: secalert@redhat.com — http://secunia.com/advisories/48328

vendor Authored 2026-05-27

Vendor advisory: secalert@redhat.com — http://secunia.com/advisories/48327

Mitigation details

Source: Debian Security Tracker · View original ↗ · DFSG

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

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 ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-2449-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
sqlalchemy (PTS)bullseye1.3.22+ds1-1fixed
bookworm1.4.46+ds1-1fixed
trixie2.0.40+ds1-1fixed
forky, sid2.0.48+ds1-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
sqlalchemysourcesqueeze0.6.3-3+squeeze1DSA-2449-1
sqlalchemysource(unstable)0.6.7-1

Home - Debian Security - Source (Git)

OS impact

OSVersionStatusFixed in
debian debianbookwormfixed0.6.7-1
debian debianbullseyefixed0.6.7-1
debian debianforkyfixed0.6.7-1
debian debiansidfixed0.6.7-1
debian debiantrixiefixed0.6.7-1

Package impact

EcosystemPackageVulnerableFixed
python PyPIsqlalchemy<0.7.0b40.7.0b4
python PyPIsqlalchemy<0.7.00.7.0

Application impact

VendorProductVersionsFixed
sqlalchemysqlalchemy{"endIncluding":"0.7.0"}
sqlalchemysqlalchemy0.6.0
sqlalchemysqlalchemy0.6.1
sqlalchemysqlalchemy0.6.2
sqlalchemysqlalchemy0.6.3
sqlalchemysqlalchemy0.6.4
sqlalchemysqlalchemy0.6.5
sqlalchemysqlalchemy0.6.6
sqlalchemysqlalchemy0.6.7
sqlalchemysqlalchemy0.7.0

References

CWEs

CWE-89

Verify integrity in audit chain (admin only). AS-IS.