CVE-2012-0805
Python packages · CVE-2012-0805
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 2.830% · score date 2026-11-18. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T15:55:09.885Z. Public exploit availability is not used to set this status.
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T15:55:09.885Z | CISA KEV |
| cvss | unknown | unknown | unknown |
| epss | verified | 2026-11-19T12:59:49.384Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:21.485Z | OSV |
| affected | verified | 2026-11-19T12:54:18.050Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:54:18.050Z | CVE Program |
Affected versions and configuration
n/a n/a; default status: unknown: n/a [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "n/a",
"product": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/73756",
"name": "sqlalchemy-select-sql-injection(73756)",
"tags": [
"vdb-entry",
"x_refsource_XF",
"x_transferred"
]
},
{
"url": "http://www.mandriva.com/security/advisories?name=MDVSA-2012:059",
"name": "MDVSA-2012:059",
"tags": [
"vendor-advisory",
"x_refsource_MANDRIVA",
"x_transferred"
]
},
{
"url": "https://bugs.launchpad.net/keystone/+bug/918608",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
},
{
"url": "http://www.sqlalchemy.org/trac/changeset/852b6a1a87e7/",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
]
},
{
"url": "http://www.debian.org/security/2012/dsa-2449",
"name": "DSA-2449",
"tags": [
"vendor-advisory",
"x_refsource_DEBIAN",
"x_transferred"
]
},
{
"url": "http://www.sqlalchemy.org/changelog/CHANGES_0_7_0",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
]
},
{
"url": "http://secunia.com/advisories/48771",
"name": "48771",
"tags": [
"third-party-advisory",
"x_refsource_SECUNIA",
"x_transferred"
]
},
{
"url": "http://secunia.com/advisories/48328",
"name": "48328",
"tags": [
"third-party-advisory",
"x_refsource_SECUNIA",
"x_transferred"
]
},
{
"url": "http://secunia.com/advisories/48327",
"name": "48327",
"tags": [
"third-party-advisory",
"x_refsource_SECUNIA",
"x_transferred"
]
},
{
"url": "http://rhn.redhat.com/errata/RHSA-2012-0369.html",
"name": "RHSA-2012:0369",
"tags": [
"vendor-advisory",
"x_refsource_REDHAT",
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-06T18:38:14.544Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-hfg2-wf6j-x53p",
"aliases": [
"CVE-2012-0805",
"PYSEC-2012-9"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.7.0b4"
}
]
}
],
"package": {
"name": "sqlalchemy",
"purl": "pkg:pypi/sqlalchemy",
"ecosystem": "PyPI"
},
"versions": [
"0.1.0",
"0.1.1",
"0.1.2",
"0.1.3",
"0.1.4",
"0.1.5",
"0.1.6",
"0.1.7",
"0.2.0",
"0.2.1",
"0.2.2",
"0.2.3",
"0.2.4",
"0.2.5",
"0.2.6",
"0.2.7",
"0.2.8",
"0.3.0",
"0.3.1",
"0.3.10",
"0.3.11",
"0.3.2",
"0.3.3",
"0.3.4",
"0.3.5",
"0.3.6",
"0.3.7",
"0.3.8",
"0.3.9",
"0.4.0",
"0.4.0beta1",
"0.4.0beta2",
"0.4.0beta3",
"0.4.0beta4",
"0.4.0beta5",
"0.4.0beta6",
"0.4.1",
"0.4.2",
"0.4.2a",
"0.4.2b",
"0.4.3",
"0.4.4",
"0.4.5",
"0.4.6",
"0.4.7",
"0.4.8",
"0.5.0",
"0.5.0beta1",
"0.5.0beta2",
"0.5.0beta3",
"0.5.0rc1",
"0.5.0rc2",
"0.5.0rc3",
"0.5.0rc4",
"0.5.1",
"0.5.2",
"0.5.3",
"0.5.4",
"0.5.5",
"0.5.6",
"0.5.7",
"0.5.8",
"0.6.0",
"0.6.1",
"0.6.2",
"0.6.3",
"0.6.4",
"0.6.5",
"0.6.6",
"0.6.7",
"0.6.8",
"0.6.9",
"0.6beta1",
"0.6beta2",
"0.6beta3"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-hfg2-wf6j-x53p/GHSA-hfg2-wf6j-x53p.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2012-0805",
"type": "ADVISORY"
},
{
"url": "https://github.com/sqlalchemy/sqlalchemy/commit/51fea2e159ca93daa0bc8066a5c35d8436d99418",
"type": "WEB"
},
{
"url": "https://bugs.launchpad.net/keystone/+bug/918608",
"type": "WEB"
},
{
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/73756",
"type": "WEB"
},
{
"url": "https://github.com/pypa/advisory-database/tree/main/vulns/sqlalchemy/PYSEC-2012-9.yaml",
"type": "WEB"
},
{
"url": "https://github.com/sqlalchemy/sqlalchemy",
"type": "PACKAGE"
},
{
"url": "https://web.archive.org/web/20140721183117/http://secunia.com/advisories/48771",
"type": "WEB"
},
{
"url": "https://web.archive.org/web/20140802043526/http://secunia.com/advisories/48328",
"type": "WEB"
},
{
"url": "https://web.archive.org/web/20140802044957/http://secunia.com/advisories/48327",
"type": "WEB"
},
{
"url": "http://rhn.redhat.com/errata/RHSA-2012-0369.html",
"type": "WEB"
},
{
"url": "http://www.debian.org/security/2012/dsa-2449",
"type": "WEB"
},
{
"url": "http://www.sqlalchemy.org/changelog/CHANGES_0_7_0",
"type": "WEB"
},
{
"url": "http://www.sqlalchemy.org/trac/changeset/852b6a1a87e7",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-89"
],
"severity": "CRITICAL",
"github_reviewed": true,
"nvd_published_at": "2012-06-05T22:55:00Z",
"github_reviewed_at": "2024-04-30T08:33:05Z"
}
}Archived source JSONOSV · osv · full conditions
{
"id": "PYSEC-2012-9",
"aliases": [
"CVE-2012-0805",
"GHSA-hfg2-wf6j-x53p"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.7.0"
}
]
}
],
"package": {
"name": "sqlalchemy",
"purl": "pkg:pypi/sqlalchemy",
"ecosystem": "PyPI"
},
"versions": [
"0.1.0",
"0.1.1",
"0.1.2",
"0.1.3",
"0.1.4",
"0.1.5",
"0.1.6",
"0.1.7",
"0.2.0",
"0.2.1",
"0.2.2",
"0.2.3",
"0.2.4",
"0.2.5",
"0.2.6",
"0.2.7",
"0.2.8",
"0.3.0",
"0.3.1",
"0.3.10",
"0.3.11",
"0.3.2",
"0.3.3",
"0.3.4",
"0.3.5",
"0.3.6",
"0.3.7",
"0.3.8",
"0.3.9",
"0.4.0",
"0.4.0beta1",
"0.4.0beta2",
"0.4.0beta3",
"0.4.0beta4",
"0.4.0beta5",
"0.4.0beta6",
"0.4.1",
"0.4.2",
"0.4.2a",
"0.4.2b",
"0.4.3",
"0.4.4",
"0.4.5",
"0.4.6",
"0.4.7",
"0.4.8",
"0.5.0",
"0.5.0beta1",
"0.5.0beta2",
"0.5.0beta3",
"0.5.0rc1",
"0.5.0rc2",
"0.5.0rc3",
"0.5.0rc4",
"0.5.1",
"0.5.2",
"0.5.3",
"0.5.4",
"0.5.5",
"0.5.6",
"0.5.7",
"0.5.8",
"0.6.0",
"0.6.1",
"0.6.2",
"0.6.3",
"0.6.4",
"0.6.5",
"0.6.6",
"0.6.7",
"0.6.8",
"0.6.9",
"0.6beta1",
"0.6beta2",
"0.6beta3"
],
"database_specific": {
"source": "https://github.com/pypa/advisory-database/blob/main/vulns/sqlalchemy/PYSEC-2012-9.yaml"
}
}
],
"severity": [],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://bugs.launchpad.net/keystone/+bug/918608",
"type": "WEB"
},
{
"url": "http://rhn.redhat.com/errata/RHSA-2012-0369.html",
"type": "ADVISORY"
},
{
"url": "http://www.sqlalchemy.org/trac/changeset/852b6a1a87e7/",
"type": "WEB"
},
{
"url": "http://secunia.com/advisories/48771",
"type": "ADVISORY"
},
{
"url": "http://www.sqlalchemy.org/changelog/CHANGES_0_7_0",
"type": "WEB"
},
{
"url": "http://secunia.com/advisories/48328",
"type": "ADVISORY"
},
{
"url": "http://secunia.com/advisories/48327",
"type": "ADVISORY"
},
{
"url": "http://www.debian.org/security/2012/dsa-2449",
"type": "ADVISORY"
},
{
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/73756",
"type": "WEB"
},
{
"url": "http://www.mandriva.com/security/advisories?name=MDVSA-2012:059",
"type": "ADVISORY"
},
{
"url": "https://github.com/advisories/GHSA-hfg2-wf6j-x53p",
"type": "ADVISORY"
}
],
"relatedGitRanges": [],
"database_specific": {}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | PyPI / package | sqlalchemy | Not a distribution channel | 0.7.0b4 | Official record |
| ecosystem-boundary | PyPI / package | sqlalchemy | Not a distribution channel | 0.7.0 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:21.485ZArchived source JSON
Source publication: 2022-05-14T03:49:27.000Z
Source modification: 2024-10-28T15:04:29.386ZDocument fingerprint
137dab1a0ee7fa759ff1e43d77f50da983bbe3f644c3730f0143df8183a3eb47 - OSVConsulted: 2026-11-19T12:52:21.485ZArchived source JSON
Source publication: 2012-06-05T22:55:00.000Z
Source modification: 2026-06-10T17:02:41.761ZDocument fingerprint
137dab1a0ee7fa759ff1e43d77f50da983bbe3f644c3730f0143df8183a3eb47 - CVE ProgramConsulted: 2026-11-19T12:54:18.050ZArchived source JSON
Source publication: 2012-06-05T22:00:00.000Z
Source modification: 2024-08-06T18:38:14.544ZDocument fingerprint
7fa59fc33de1764c5250566537096767ab710f9492ab3008d30f0c4d2a048f4f - CISA KEVConsulted: 2026-11-19T15:55:09.885ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T12:59:49.384ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
fdcb1ec9d5a72d6ad6dd3512cfcf205b08eb18268ed848faa93b9626c31b2839
Official status history
- UNKNOWN → PUBLISHED · · evidence