SQL injection in SQLAlchemy - CVE-2019-7164
Published: February 22, 2019
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary SQL queries in database.
The vulnerability exists due to insufficient sanitization of user-supplied data passed via the order_by parameter. A remote attacker can send a specially specially crafted request to the affected application and execute arbitrary SQL commands within the application database.
Successful exploitation of this vulnerability may allow a remote attacker to read, delete, modify data in database and gain complete control over the affected application.
Affected software
Oracle Communications Operations Monitor
Red Hat Enterprise Linux for x86_64
Debian Linux
Opensuse
SUSE Linux
openEuler
sqlalchemy (Debian package)
python-sqlalchemy
python3-sqlalchemy
python-sqlalchemy-debugsource
python-sqlalchemy-debuginfo
python2-sqlalchemy
python-sqlalchemy-help
How to mitigate CVE-2019-7164
sqlalchemy (Debian package) - addressed in versions 0.9.8+dfsg-0.1+deb8u1, 1.0.15+ds1-1+deb9u1
python-sqlalchemy - update to 1.2.19-3
python3-sqlalchemy - update to 1.2.19-3
python-sqlalchemy-debugsource - update to 1.2.19-3
python-sqlalchemy-debuginfo - update to 1.2.19-3
python2-sqlalchemy - update to 1.2.19-3
python-sqlalchemy-help - update to 1.2.19-3
External References
Related Security Bulletins
- SQL injection in SQLAlchemy
- OpenSUSE Linux update for python-SQLAlchemy
- OpenSUSE Linux update for python-SQLAlchemy
- OpenSUSE Linux update for python-SQLAlchemy
- Red Hat update for python36:3.6
- Red Hat update for python27:2.7
- Multiple vulnerabilities in Oracle Communications Operations Monitor
- openEuler 20.03 LTS update for python-sqlalchemy
- openEuler 20.03 LTS SP1 update for python-sqlalchemy
- Debian update for sqlalchemy
- Debian update for sqlalchemy