{"dataType": "CVE_RECORD", "containers": {"adp": [{"metrics": [{"other": {"type": "Unknown", "content": {"data": "{\"description\":\"not yet assigned\"}"}}}], "affected": [{"vendor": "debian", "product": "python-sqlalchemy", "versions": [{"status": "affected", "version": "0", "lessThan": "0.6.7-1", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}, {"vendor": "debian", "product": "python-sqlalchemy-doc", "versions": [{"status": "affected", "version": "0", "lessThan": "0.6.7-1", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}, {"vendor": "debian", "product": "python-sqlalchemy-ext", "versions": [{"status": "affected", "version": "0", "lessThan": "0.6.7-1", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}, {"vendor": "debian", "product": "python3-sqlalchemy", "versions": [{"status": "affected", "version": "0", "lessThan": "0.6.7-1", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}], "references": [{"url": "https://security-tracker.debian.org/tracker/CVE-2012-0805"}], "descriptions": [{"lang": "en", "value": "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."}], "providerMetadata": {"orgId": "79363d38-fa19-49d1-9214-5f28da3f3ac5", "shortName": "debian", "dateUpdated": "2012-04-12T00:00:00.000Z", "x_subShortName": "debian"}}, {"metrics": [{"cvssV2_0": {"version": "2.0", "baseScore": 7.5, "accessVector": "NETWORK", "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P", "authentication": "NONE", "integrityImpact": "PARTIAL", "accessComplexity": "LOW", "availabilityImpact": "PARTIAL", "confidentialityImpact": "PARTIAL"}}, {"other": {"type": "Unknown", "content": {"data": "{\"description\":\"MODERATE\"}"}}}], "affected": [{"vendor": "oraclelinux", "product": "python-sqlalchemy", "versions": [{"status": "affected", "version": "0", "lessThan": "0:0.5.5-3.el6_2", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:6"], "defaultStatus": "unaffected"}], "references": [{"url": "https://linux.oracle.com/cve/CVE-2012-0805.html"}], "descriptions": [{"lang": "en", "value": "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."}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000006", "shortName": "oraclelinux", "dateUpdated": "2012-03-07T00:00:00Z", "x_subShortName": "oraclelinux"}}, {"metrics": [{"cvssV2_0": {"version": "2.0", "baseScore": 4.3, "accessVector": "NETWORK", "vectorString": "AV:N/AC:M/Au:N/C:N/I:P/A:N", "authentication": "NONE", "integrityImpact": "PARTIAL", "accessComplexity": "MEDIUM", "availabilityImpact": "NONE", "confidentialityImpact": "NONE"}}, {"other": {"type": "Unknown", "content": {"data": "{\"description\":\"Moderate\"}"}}}], "affected": [{"vendor": "redhat", "product": "python-sqlalchemy", "versions": [{"status": "affected", "version": "0", "lessThan": "0:0.5.5-3.el6_2", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:6"], "defaultStatus": "unaffected"}], "references": [{"url": "https://access.redhat.com/errata/RHSA-2012:0369"}, {"url": "https://access.redhat.com/security/cve/CVE-2012-0805"}], "descriptions": [{"lang": "en", "value": "SQLAlchemy is an Object Relational Mapper (ORM) that provides a flexible,\nhigh-level interface to SQL databases.\n\nIt was discovered that SQLAlchemy did not sanitize values for the limit and\noffset keywords for SQL select statements. If an application using\nSQLAlchemy accepted values for these keywords, and did not filter or\nsanitize them before passing them to SQLAlchemy, it could allow an attacker\nto perform an SQL injection attack against the application. (CVE-2012-0805)\n\nAll users of python-sqlalchemy are advised to upgrade to this updated\npackage, which contains a patch to correct this issue. All running\napplications using SQLAlchemy must be restarted for this update to take\neffect."}], "providerMetadata": {"orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749", "shortName": "redhat", "dateUpdated": "2012-03-07T00:00:00Z", "x_subShortName": "redhat_6"}}, {"metrics": [{"cvssV3_1": {"scope": "UNCHANGED", "version": "3.1", "baseScore": 9.8, "attackVector": "NETWORK", "baseSeverity": "CRITICAL", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "integrityImpact": "HIGH", "userInteraction": "NONE", "attackComplexity": "LOW", "availabilityImpact": "HIGH", "privilegesRequired": "NONE", "confidentialityImpact": "HIGH"}}, {"cvssV4_0": {"version": "4.0", "baseScore": 9.3, "attackVector": "NETWORK", "baseSeverity": "CRITICAL", "vectorString": "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", "userInteraction": "NONE", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "NONE", "subIntegrityImpact": "NONE", "vulnIntegrityImpact": "HIGH", "subAvailabilityImpact": "NONE", "vulnAvailabilityImpact": "HIGH", "subConfidentialityImpact": "NONE", "vulnConfidentialityImpact": "HIGH"}}, {"other": {"type": "Unknown", "content": {"data": "{\"description\":\"CRITICAL\"}"}}}], "affected": [{"vendor": "pypi", "product": "sqlalchemy", "versions": [{"status": "affected", "version": "0", "lessThan": "0.7.0", "versionType": "custom"}, {"status": "affected", "version": "0", "lessThan": "0.7.0b4", "versionType": "custom"}], "defaultStatus": "unaffected"}], "references": [{"url": "http://rhn.redhat.com/errata/RHSA-2012-0369.html"}, {"url": "http://secunia.com/advisories/48327"}, {"url": "http://secunia.com/advisories/48328"}, {"url": "http://secunia.com/advisories/48771"}, {"url": "http://www.debian.org/security/2012/dsa-2449"}, {"url": "http://www.mandriva.com/security/advisories?name=MDVSA-2012:059"}, {"url": "http://www.sqlalchemy.org/changelog/CHANGES_0_7_0"}, {"url": "http://www.sqlalchemy.org/trac/changeset/852b6a1a87e7"}, {"url": "http://www.sqlalchemy.org/trac/changeset/852b6a1a87e7/"}, {"url": "https://bugs.launchpad.net/keystone/+bug/918608"}, {"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/73756"}, {"url": "https://github.com/advisories/GHSA-hfg2-wf6j-x53p"}, {"url": "https://github.com/pypa/advisory-database/tree/main/vulns/sqlalchemy/PYSEC-2012-9.yaml"}, {"url": "https://github.com/sqlalchemy/sqlalchemy"}, {"url": "https://github.com/sqlalchemy/sqlalchemy/commit/51fea2e159ca93daa0bc8066a5c35d8436d99418"}, {"url": "https://nvd.nist.gov/vuln/detail/CVE-2012-0805"}, {"url": "https://web.archive.org/web/20140721183117/http://secunia.com/advisories/48771"}, {"url": "https://web.archive.org/web/20140802043526/http://secunia.com/advisories/48328"}, {"url": "https://web.archive.org/web/20140802044957/http://secunia.com/advisories/48327"}], "descriptions": [{"lang": "en", "value": "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."}, {"lang": "en", "value": "SQLAlchemy vulnerable to SQL injection"}], "providerMetadata": {"orgId": "28c92f92-d60d-412d-b760-e73465c3df22", "shortName": "pypi", "dateUpdated": "2012-06-05T22:55:00Z", "x_subShortName": "pypi"}}], "cna": {"metrics": [{"format": "CVSS", "cvssV2_0": {"version": "2.0", "baseScore": 7.5, "accessVector": "NETWORK", "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P", "authentication": "NONE", "integrityImpact": "PARTIAL", "accessComplexity": "LOW", "availabilityImpact": "PARTIAL", "confidentialityImpact": "PARTIAL"}}], "affected": [{"cpes": ["cpe:2.3:a:sqlalchemy:sqlalchemy:*:b3:*:*:*:*:*:*", "cpe:2.3:a:sqlalchemy:sqlalchemy:0.6.0:*:*:*:*:*:*:*", "cpe:2.3:a:sqlalchemy:sqlalchemy:0.6.0:beta1:*:*:*:*:*:*", "cpe:2.3:a:sqlalchemy:sqlalchemy:0.6.0:beta2:*:*:*:*:*:*", "cpe:2.3:a:sqlalchemy:sqlalchemy:0.6.0:beta3:*:*:*:*:*:*", "cpe:2.3:a:sqlalchemy:sqlalchemy:0.6.1:*:*:*:*:*:*:*", "cpe:2.3:a:sqlalchemy:sqlalchemy:0.6.2:*:*:*:*:*:*:*", "cpe:2.3:a:sqlalchemy:sqlalchemy:0.6.3:*:*:*:*:*:*:*", "cpe:2.3:a:sqlalchemy:sqlalchemy:0.6.4:*:*:*:*:*:*:*", "cpe:2.3:a:sqlalchemy:sqlalchemy:0.6.5:*:*:*:*:*:*:*", "cpe:2.3:a:sqlalchemy:sqlalchemy:0.6.6:*:*:*:*:*:*:*", "cpe:2.3:a:sqlalchemy:sqlalchemy:0.6.7:*:*:*:*:*:*:*", "cpe:2.3:a:sqlalchemy:sqlalchemy:0.7.0:b1:*:*:*:*:*:*", "cpe:2.3:a:sqlalchemy:sqlalchemy:0.7.0:b2:*:*:*:*:*:*"], "vendor": "sqlalchemy", "product": "sqlalchemy", "versions": [{"status": "affected", "version": "0", "versionType": "custom", "lessThanOrEqual": "0.7.0"}, {"status": "affected", "version": "0.6.0"}, {"status": "affected", "version": "0.6.1"}, {"status": "affected", "version": "0.6.2"}, {"status": "affected", "version": "0.6.3"}, {"status": "affected", "version": "0.6.4"}, {"status": "affected", "version": "0.6.5"}, {"status": "affected", "version": "0.6.6"}, {"status": "affected", "version": "0.6.7"}, {"status": "affected", "version": "0.7.0"}], "defaultStatus": "unaffected"}], "references": [{"url": "http://www.sqlalchemy.org/trac/changeset/852b6a1a87e7/", "tags": ["exploit", "patch"]}, {"url": "http://secunia.com/advisories/48327", "tags": ["vendor-advisory"]}, {"url": "http://secunia.com/advisories/48328", "tags": ["vendor-advisory"]}, {"url": "http://secunia.com/advisories/48771", "tags": ["vendor-advisory"]}, {"url": "http://rhn.redhat.com/errata/RHSA-2012-0369.html"}, {"url": "http://www.debian.org/security/2012/dsa-2449"}, {"url": "http://www.mandriva.com/security/advisories?name=MDVSA-2012:059"}, {"url": "http://www.sqlalchemy.org/changelog/CHANGES_0_7_0"}, {"url": "https://bugs.launchpad.net/keystone/+bug/918608"}, {"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/73756"}], "descriptions": [{"lang": "en", "value": "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."}, {"lang": "es", "value": "Múltiples vulnerabilidades de inyección SQL en SQLAlchemy antes v0.7.0b4, tal y como se usa en Keystone, permite a atacantes remotos ejecutar comandos SQL a través de las palabras clave (1) limit (límite) o (2) offset (desplazamiento) a la función de select (selección), o de vectores no especificados a las funciones (3) select.limit o (4) select.offset."}], "problemTypes": [{"descriptions": [{"lang": "en", "cweId": "CWE-89", "description": "CWE-89"}]}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000003", "shortName": "nvd", "dateUpdated": "2012-06-05T22:55:08Z", "x_subShortName": "nvd"}}}, "cveMetadata": {"cveId": "CVE-2012-0805", "state": "PUBLISHED", "dateUpdated": "2025-04-11T00:51:21Z", "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749", "datePublished": "2012-06-05T22:55:08Z", "assignerShortName": "redhat"}, "dataVersion": "5.0"}