CVE-2019-7548
published 2019-02-06CVE-2019-7548: SQLAlchemy 1.2.17 has SQL Injection when the group_by parameter can be controlled.
PriorityP340high7.8CVSS 3.1
AVLACLPRNUIRSUCHIHAH
EPSS
1.78%
75.7th percentile
SQLAlchemy 1.2.17 has SQL Injection when the group_by parameter can be controlled.
Affected
22 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | sqlalchemy | < sqlalchemy 1.2.18+ds1-2 (bookworm) | sqlalchemy 1.2.18+ds1-2 (bookworm) |
| opensuse | backports_sle | — | — |
| opensuse | leap | — | — |
| opensuse | leap | — | — |
| oracle | communications_operations_monitor | — | — |
| oracle | communications_operations_monitor | — | — |
| redhat | enterprise_linux | — | — |
| redhat | enterprise_linux_eus | — | — |
| redhat | enterprise_linux_eus | — | — |
| redhat | enterprise_linux_eus | — | — |
| redhat | enterprise_linux_server_aus | — | — |
| redhat | enterprise_linux_server_aus | — | — |
| redhat | enterprise_linux_server_tus | — | — |
| redhat | enterprise_linux_server_tus | — | — |
| sqlalchemy | sqlalchemy | — | — |
| sqlalchemy | sqlalchemy | >= 0 < 1.2.18+ds1-2 | 1.2.18+ds1-2 |
| sqlalchemy | sqlalchemy | >= 0 < 1.2.18+ds1-2 | 1.2.18+ds1-2 |
| sqlalchemy | sqlalchemy | >= 0 < 1.2.18+ds1-2 | 1.2.18+ds1-2 |
| sqlalchemy | sqlalchemy | >= 0 < 1.2.18+ds1-2 | 1.2.18+ds1-2 |
| sqlalchemy | sqlalchemy | >= 0 < 1.2.19 | 1.2.19 |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv7.8HIGH
vendor_debian7.8HIGH
vendor_redhat7.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
python-sqlalchemy: SQL Injection when the group_by parameter can be controlled
vendor_redhat·2019-02-01·CVSS 7.8
CVE-2019-7548 [HIGH] CWE-89 python-sqlalchemy: SQL Injection when the group_by parameter can be controlled
python-sqlalchemy: SQL Injection when the group_by parameter can be controlled
SQLAlchemy 1.2.17 has SQL Injection when the group_by parameter can be controlled.
Statement: This issue affects the versions of python-sqlalchemy(bundled in calamari-server) shipped with Red Hat Ceph Storage 2. However, this flaw is not known to be exploitable in any meaningful way within calamari webapp. A future update may address this issue.
Package: calamari-server (Red Hat Ceph Storage 2) - Affected
Package: python-sqlalchemy (Red Hat Enterprise Linux 6) - Will not fix
Package: python-sqlalchemy (Red Hat Enterprise Linux 7) - Will not fix
Package: python-sqlalchemy (Red Hat OpenStack Platform 10 (Newton)) - Affected
Package: python-sqlalchemy (Red Hat OpenStack Platform 13 (Queens)) - Affected
Pack
Debian
CVE-2019-7548: sqlalchemy - SQLAlchemy 1.2.17 has SQL Injection when the group_by parameter can be controlle...
vendor_debian·2019·CVSS 7.8
CVE-2019-7548 [HIGH] CVE-2019-7548: sqlalchemy - SQLAlchemy 1.2.17 has SQL Injection when the group_by parameter can be controlle...
SQLAlchemy 1.2.17 has SQL Injection when the group_by parameter can be controlled.
Scope: local
bookworm: resolved (fixed in 1.2.18+ds1-2)
bullseye: resolved (fixed in 1.2.18+ds1-2)
forky: resolved (fixed in 1.2.18+ds1-2)
sid: resolved (fixed in 1.2.18+ds1-2)
trixie: resolved (fixed in 1.2.18+ds1-2)
OSV
SQLAlchemy is vulnerable to SQL Injection via group_by parameter
osv·2019-04-16
CVE-2019-7548 [CRITICAL] SQLAlchemy is vulnerable to SQL Injection via group_by parameter
SQLAlchemy is vulnerable to SQL Injection via group_by parameter
SQLAlchemy 1.2.17 has SQL Injection when the group_by parameter can be controlled.
GHSA
SQLAlchemy is vulnerable to SQL Injection via group_by parameter
ghsa·2019-04-16
CVE-2019-7548 [CRITICAL] CWE-89 SQLAlchemy is vulnerable to SQL Injection via group_by parameter
SQLAlchemy is vulnerable to SQL Injection via group_by parameter
SQLAlchemy 1.2.17 has SQL Injection when the group_by parameter can be controlled.
OSV
CVE-2019-7548: SQLAlchemy 1
osv·2019-02-06·CVSS 7.8
CVE-2019-7548 [HIGH] CVE-2019-7548: SQLAlchemy 1
SQLAlchemy 1.2.17 has SQL Injection when the group_by parameter can be controlled.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2019-7164 python-sqlalchemy: SQL Injection when the order_by parameter can be controlled
bugzilla·2019-02-19·CVSS 9.8
CVE-2019-7164 [CRITICAL] CVE-2019-7164 python-sqlalchemy: SQL Injection when the order_by parameter can be controlled
CVE-2019-7164 python-sqlalchemy: SQL Injection when the order_by parameter can be controlled
A vulnerability was found in SQLAlchemy 1.2.17. An SQL Injection when the order_by parameter can be controlled.
Upstream issue:
https://github.com/sqlalchemy/sqlalchemy/issues/4481
Upstream patch:
https://github.com/sqlalchemy/sqlalchemy/commit/30307c4616ad67c01ddae2e1e8e34fabf6028414
Discussion:
This flaw is related to CVE-2019-7548 (bug 1674059) and is fixed by the same upstream patch.
---
This issue has been rated Moderate because it is not common in SQLAlchemy backed applications for the order_by parameter to be populated by an externally-controlled string. The upstream issue has more discussion about safe use of group_by and order_by.
---
Created python-sqlalchemy tracking bugs for
Bugzilla
CVE-2019-7548 python-sqlalchemy: SQL Injection when the group_by parameter can be controlled
bugzilla·2019-02-08·CVSS 9.8
CVE-2019-7548 [CRITICAL] CVE-2019-7548 python-sqlalchemy: SQL Injection when the group_by parameter can be controlled
CVE-2019-7548 python-sqlalchemy: SQL Injection when the group_by parameter can be controlled
A vulnerability was found in SQLAlchemy 1.2.17. An SQL Injection when the group_by parameter can be controlled.
References:
https://github.com/no-security/sqlalchemy_test
Discussion:
Created python-sqlalchemy tracking bugs for this issue:
Affects: fedora-all [bug 1674060]
---
Red Hat OpenStack uses the python-sqlalchemy library and the versions provided contain the vulnerable code. However, the vulnerability is not exposed in a way that would be exploitable within a Red Hat OpenStack installation.
---
This flaw is related to CVE-2019-7164 (bug 1678520) and is fixed by the same upstream patch.
Upstream patch:
https://github.com/sqlalchemy/sqlalchemy/commit/30307c4616ad67c01ddae2e1e8e34fa
Bugzilla
CVE-2019-7164 CVE-2019-7548 python-sqlalchemy: various flaws [fedora-all]
bugzilla·2019-02-08·CVSS 9.8
CVE-2019-7164 [CRITICAL] CVE-2019-7164 CVE-2019-7548 python-sqlalchemy: various flaws [fedora-all]
CVE-2019-7164 CVE-2019-7548 python-sqlalchemy: various flaws [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versions of
http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00087.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-09/msg00010.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-09/msg00016.htmlhttps://access.redhat.com/errata/RHSA-2019:0981https://access.redhat.com/errata/RHSA-2019:0984https://github.com/no-security/sqlalchemy_testhttps://github.com/sqlalchemy/sqlalchemy/issues/4481#issuecomment-461204518https://lists.debian.org/debian-lts-announce/2019/03/msg00020.htmlhttps://lists.debian.org/debian-lts-announce/2021/11/msg00005.htmlhttps://www.oracle.com/security-alerts/cpujan2021.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-08/msg00087.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-09/msg00010.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-09/msg00016.htmlhttps://access.redhat.com/errata/RHSA-2019:0981https://access.redhat.com/errata/RHSA-2019:0984https://github.com/no-security/sqlalchemy_testhttps://github.com/sqlalchemy/sqlalchemy/issues/4481#issuecomment-461204518https://lists.debian.org/debian-lts-announce/2019/03/msg00020.htmlhttps://lists.debian.org/debian-lts-announce/2021/11/msg00005.htmlhttps://www.oracle.com/security-alerts/cpujan2021.html
2019-02-06
Published