CVE-2012-0805

Exp

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.

Published: 2012-06-05 Last update: 2026-04-29 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2012-0805 is rated High Exploit Risk (75.3/100): CVSS High severity, with medium exploitation likelihood (EPSS 2.25%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2012-0805

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2012-0805

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-08 1.65% 2.25% +0.60%
2 2025-03-30 4.77% 1.65% -3.12%
3 2025-03-29 4.77%

Full EPSS history (11 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2012-0805

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.5 2.0 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:P)
Partial confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:P)
Partial availability impact.
10.0 6.4 [email protected]

Weakness enumeration for CVE-2012-0805

GitHub Security Advisory for CVE-2012-0805

GHSA-hfg2-wf6j-x53p · Severity: critical · Ecosystem: pip — SQLAlchemy vulnerable to SQL injection

OS Trackers for CVE-2012-0805

vendor priority summary link
debian not yet assigned CVE-2012-0805 not yet assigned priority: Debian including 1 source packages (sqlalchemy), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2012-0805
gentoo normal CVE-2012-0805: 1 GLSA(s) (201209-16), 1 atom(s) (dev-python/sqlalchemy); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2012-0805
redhat medium https://access.redhat.com/security/cve/CVE-2012-0805
ubuntu medium CVE-2012-0805 medium priority: Ubuntu including 2 source packages (keystone, sqlalchemy), 20 status rows across 10 suites (hardy, lucid, maverick, natty, oneiric, precise, quantal, raring, saucy, upstream): not-affected 9, ignored 5, DNE 4, needs-triage 1, released 1. https://ubuntu.com/security/CVE-2012-0805

Affected software / configurations for CVE-2012-0805

Vendor Product Version Raw CPE
sqlalchemy sqlalchemy <= 0.7.0 cpe:2.3:a:sqlalchemy:sqlalchemy:*:b3:*:*:*:*:*:*
sqlalchemy sqlalchemy 0.6.0 cpe:2.3:a:sqlalchemy:sqlalchemy:0.6.0:*:*:*:*:*:*:*
sqlalchemy sqlalchemy 0.6.0 cpe:2.3:a:sqlalchemy:sqlalchemy:0.6.0:beta1:*:*:*:*:*:*
sqlalchemy sqlalchemy 0.6.0 cpe:2.3:a:sqlalchemy:sqlalchemy:0.6.0:beta2:*:*:*:*:*:*
sqlalchemy sqlalchemy 0.6.0 cpe:2.3:a:sqlalchemy:sqlalchemy:0.6.0:beta3:*:*:*:*:*:*
sqlalchemy sqlalchemy 0.6.1 cpe:2.3:a:sqlalchemy:sqlalchemy:0.6.1:*:*:*:*:*:*:*
sqlalchemy sqlalchemy 0.6.2 cpe:2.3:a:sqlalchemy:sqlalchemy:0.6.2:*:*:*:*:*:*:*
sqlalchemy sqlalchemy 0.6.3 cpe:2.3:a:sqlalchemy:sqlalchemy:0.6.3:*:*:*:*:*:*:*
sqlalchemy sqlalchemy 0.6.4 cpe:2.3:a:sqlalchemy:sqlalchemy:0.6.4:*:*:*:*:*:*:*
sqlalchemy sqlalchemy 0.6.5 cpe:2.3:a:sqlalchemy:sqlalchemy:0.6.5:*:*:*:*:*:*:*
sqlalchemy sqlalchemy 0.6.6 cpe:2.3:a:sqlalchemy:sqlalchemy:0.6.6:*:*:*:*:*:*:*
sqlalchemy sqlalchemy 0.6.7 cpe:2.3:a:sqlalchemy:sqlalchemy:0.6.7:*:*:*:*:*:*:*
sqlalchemy sqlalchemy 0.7.0 cpe:2.3:a:sqlalchemy:sqlalchemy:0.7.0:b1:*:*:*:*:*:*
sqlalchemy sqlalchemy 0.7.0 cpe:2.3:a:sqlalchemy:sqlalchemy:0.7.0:b2:*:*:*:*:*:*

References for CVE-2012-0805

cvelogic Threat Intelligence