{"id":"CVE-2019-7164","published":"2019-02-20T00:00:00Z","modified":"2024-08-04T20:38:33Z","title":"SQLAlchemy through 1.2.17 and 1.3.x through 1.3.0b2 allows SQL Injection via the order_by parameter","vendor":null,"product":null,"tier":"tail","description":{"text":"SQLAlchemy through 1.2.17 and 1.3.x through 1.3.0b2 allows SQL Injection via the order_by parameter.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.03496,"percentile":0.8943,"provenance":"source"},"cwes":[],"references":[{"url":"https://lists.debian.org/debian-lts-announce/2019/03/msg00020.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://access.redhat.com/errata/RHSA-2019:0984","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2019:0981","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00087.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00010.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00016.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://www.oracle.com/security-alerts/cpujan2021.html","tags":["x_refsource_MISC"]},{"url":"https://github.com/sqlalchemy/sqlalchemy/issues/4481","tags":["x_refsource_MISC"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/11/msg00005.html","tags":["mailing-list","x_refsource_MLIST"]}],"priority":{"score":17.9,"factors":[{"name":"EPSS percentile","points":17.89}]},"affected":[{"ecosystem":"PyPI","package":"SQLAlchemy","vulnerableRanges":["<1.3.0b3"],"patched":["1.3.0b3"],"from":["GHSA-887w-45rq-vxgf","PYSEC-2019-123"],"provenance":"source"}],"summary":{"text":"The flaw is a SQL injection weakness in the SQLAlchemy library, affecting versions through 1.2.17 and 1.3.x through 1.3.0b2, where the order_by parameter is not properly handled. An attacker can inject SQL through that parameter to tamper with queries.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:26:56Z"},"euvd":{"id":"EUVD-2019-0133","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2012-0805","published":"2012-06-05","fixed":"0.7.0","kev":false},{"cve":"CVE-2019-7548","published":"2019-02-06","fixed":"1.2.19","kev":false,"link":{"from":"CVE-2019-7548","to":"CVE-2019-7164","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:SQLAlchemy","fromFixed":"1.2.19","toFixed":"1.3.0b3","daysApart":14},{"kind":"similar","provenance":"machine","score":0.53,"basis":"same package + description similarity"}]}},{"cve":"CVE-2019-7164","published":"2019-02-20","fixed":"1.3.0b3","kev":false}],"package":"PyPI:SQLAlchemy"}}