VDB
Sign up
—

PYSEC-2019-123

Quick fix

PYSEC-2019-123 — sqlalchemy: upgrade to the fixed version with the command below.

pip install --upgrade 'sqlalchemy>=1.3.0b3'

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/sqlalchemy
Introduced in: 0Fixed in: 1.3.0b3
Fixpip install --upgrade 'sqlalchemy>=1.3.0b3'

References