PT-2019-5718 · Sqlalchemy+5 · Sqlalchemy+5
Published
2019-02-01
·
Updated
2024-06-15
·
CVE-2019-7164
CVSS v4.0
10
Critical
| Vector | AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
SQLAlchemy versions 1.2.17 and earlier
SQLAlchemy versions 1.3.x through 1.3.0b2
Description
The issue is related to SQL injection via the
order by parameter. This allows an attacker to potentially execute arbitrary code. The vulnerability is due to a lack of protection for the SQL query structure.Recommendations
For SQLAlchemy versions 1.2.17 and earlier, update to a version later than 1.2.17 to resolve the issue.
For SQLAlchemy versions 1.3.x through 1.3.0b2, update to a version later than 1.3.0b2 to resolve the issue.
As a temporary workaround, consider restricting the use of the
order by parameter to minimize the risk of exploitation.Exploit
Fix
SQL injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Almalinux
Centos
Red Hat
Rocky Linux
Sqlalchemy
Suse