Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. sqlalchemy
  4. ›
  5. CVE-2019-7164

CVE-2019-7164: SQLAlchemy vulnerable to SQL Injection via order_by parameter

April 16, 2019 (updated October 28, 2024)

SQLAlchemy through 1.2.17 and 1.3.x through 1.3.0b2 allows SQL Injection via the order_by parameter.

References

  • access.redhat.com/errata/RHSA-2019:0981
  • access.redhat.com/errata/RHSA-2019:0984
  • github.com/advisories/GHSA-887w-45rq-vxgf
  • github.com/pypa/advisory-database/tree/main/vulns/sqlalchemy/PYSEC-2019-123.yaml
  • github.com/sqlalchemy/sqlalchemy
  • github.com/sqlalchemy/sqlalchemy/commit/30307c4616ad67c01ddae2e1e8e34fabf6028414
  • github.com/sqlalchemy/sqlalchemy/issues/4481
  • lists.debian.org/debian-lts-announce/2019/03/msg00020.html
  • lists.debian.org/debian-lts-announce/2021/11/msg00005.html
  • nvd.nist.gov/vuln/detail/CVE-2019-7164
  • www.oracle.com/security-alerts/cpujan2021.html

Code Behaviors & Features

Detect and mitigate CVE-2019-7164 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.3.0b1 before 1.3.0b3, all versions before 1.2.18

Fixed versions

  • 1.3.0b3
  • 1.2.18

Solution

Upgrade to versions 1.2.18, 1.3.0b3 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Source file

pypi/sqlalchemy/CVE-2019-7164.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:38 +0000.