SQL Injection Affecting python2-psycopg2 package, versions <0:2.7.5-7.module+el8.0.0+5233+93973c75


Severity

Recommended
high

Based on Oracle Linux security rating.

Threat Intelligence

EPSS
3.52% (88th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ORACLE8-PYTHON2PSYCOPG2-2534739
  • published10 Apr 2022
  • disclosed20 Feb 2019

Introduced: 20 Feb 2019

CVE-2019-7164  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade Oracle:8 python2-psycopg2 to version 0:2.7.5-7.module+el8.0.0+5233+93973c75 or higher.
This issue was patched in ELSA-2019-0981.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python2-psycopg2 package and not the python2-psycopg2 package as distributed by Oracle. See How to fix? for Oracle:8 relevant fixed versions and status.

SQLAlchemy through 1.2.17 and 1.3.x through 1.3.0b2 allows SQL Injection via the order_by parameter.

CVSS Base Scores

version 3.1