Insufficient Verification of Data Authenticity Affecting python-psycopg2 package, versions <0:2.8.6-3.module+el8.10.0+1660+b5b6f004


Severity

Recommended
medium

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
0.88% (57th 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-11328719
  • published30 Jul 2025
  • disclosed25 Aug 2022

Introduced: 25 Aug 2022

CVE-2022-2255  (opens in a new tab)
CWE-345  (opens in a new tab)

How to fix?

Upgrade Rocky-Linux:8 python-psycopg2 to version 0:2.8.6-3.module+el8.10.0+1660+b5b6f004 or higher.
This issue was patched in RLSA-2025:4791.

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.

A vulnerability was found in mod_wsgi. The X-Client-IP header is not removed from a request from an untrusted proxy, allowing an attacker to pass the X-Client-IP header to the target WSGI application because the condition to remove it is missing.

CVSS Base Scores

version 3.1