SQL Injection Affecting python-psycopg2 package, versions <0:2.7.5-7.module+el8.5.0+706+735ec4b3


Severity

Recommended
high

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
3.52% (89th 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-ROCKY8-PYTHONPSYCOPG2-3304529
  • published3 Feb 2023
  • 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 Rocky-Linux:8 python-psycopg2 to version 0:2.7.5-7.module+el8.5.0+706+735ec4b3 or higher.
This issue was patched in RLSA-2019:0981.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python-psycopg2 package and not the python-psycopg2 package as distributed by Rocky-Linux. See How to fix? for Rocky-Linux: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