Deserialization of Untrusted Data Affecting python2-psycopg2 package, versions <0:2.7.5-7.module+el8.1.0+5396+a4103ad2


Severity

Recommended
medium

Based on Oracle Linux security rating.

Threat Intelligence

EPSS
17.08% (97th 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-2539778
  • published10 Apr 2022
  • disclosed16 Jan 2019

Introduced: 16 Jan 2019

CVE-2019-6446  (opens in a new tab)
CWE-502  (opens in a new tab)

How to fix?

Upgrade Oracle:8 python2-psycopg2 to version 0:2.7.5-7.module+el8.1.0+5396+a4103ad2 or higher.
This issue was patched in ELSA-2019-3335.

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.

An issue was discovered in NumPy before 1.16.3. It uses the pickle Python module unsafely, which allows remote attackers to execute arbitrary code via a crafted serialized object, as demonstrated by a numpy.load call. NOTE: third parties dispute this issue because it is a behavior that might have legitimate applications in (for example) loading serialized Python object arrays from trusted and authenticated sources.