GitHub Advisoryadvisory · PyPI
GHSA-887w-45rq-vxgf SQLAlchemy vulnerable to SQL Injection via order_by parameter
CRITICAL
Official page ↗
- Aliases
- CVE-2019-7164
- Ecosystem
- PyPI
- Packages
- SQLAlchemy
- Severity
- Critical
- CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-89
- Reviewed
- 2020-06-16
Affected packages
• PyPI SQLAlchemy: < 1.3.0b3 → fixed in 1.3.0b3
Description
SQLAlchemy before 1.3.0b3 allows SQL Injection via the order_by parameter. The fix (commit 30307c4) was applied only to the main branch and was never backported to the 1.2.x release line; all 1.2.x versions remain vulnerable.
Related
Alias · CVE (1)
- CVE-2019-7164 SQLAlchemy through 1.2.17 and 1.3.x through 1.3.0b2 allows SQL Injection via the order_by parameter. vulnerability
Weakness · CWE (1)
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-7164 advisory
- https://github.com/sqlalchemy/sqlalchemy/issues/4481 web
- https://github.com/sqlalchemy/sqlalchemy/commit/30307c4616ad67c01ddae2e1e8e34fabf6028414 web
- https://access.redhat.com/errata/RHSA-2019:0981 web
- https://access.redhat.com/errata/RHSA-2019:0984 web
- https://github.com/advisories/GHSA-887w-45rq-vxgf advisory
- https://github.com/pypa/advisory-database/tree/main/vulns/sqlalchemy/PYSEC-2019-123.yaml web
- https://github.com/sqlalchemy/sqlalchemy package
- https://lists.debian.org/debian-lts-announce/2019/03/msg00020.html web
- https://lists.debian.org/debian-lts-announce/2021/11/msg00005.html web
- https://www.oracle.com/security-alerts/cpujan2021.html web
- http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00087.html web
- http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00010.html web
- http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00016.html web