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
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 this issue: Affects: fedora-all [bug 1674060]
Statement: This issue affects the version of python-sqlalchemy(bundled with calamari-server) shipped with Red Hat Ceph Storage 2, as it can be abused by SQL Injection.
This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2019:0981 https://access.redhat.com/errata/RHSA-2019:0981
This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2019:0984 https://access.redhat.com/errata/RHSA-2019:0984