{"id":"GHSA-hfg2-wf6j-x53p","summary":"SQLAlchemy vulnerable to SQL injection","details":"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.","aliases":["CVE-2012-0805","PYSEC-2012-9"],"modified":"2024-10-28T15:04:29.386399Z","published":"2022-05-14T03:49:27Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2024-04-30T08:33:05Z","nvd_published_at":"2012-06-05T22:55:00Z","cwe_ids":["CWE-89"],"severity":"CRITICAL"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2012-0805"},{"type":"WEB","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":"PACKAGE","url":"https://github.com/sqlalchemy/sqlalchemy"},{"type":"WEB","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"}],"affected":[{"package":{"name":"sqlalchemy","ecosystem":"PyPI","purl":"pkg:pypi/sqlalchemy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7.0b4"}]}],"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"}}],"schema_version":"1.9.0","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"}]}