Use After Free Affecting python27:2.7/python2-psycopg2 package, versions <0:2.7.5-8.module_el8.9.0+3640+8d3927b5


Severity

Recommended
medium

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.18% (56th 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 Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ALMALINUX8-PYTHON27-7168417
  • published30 May 2024
  • disclosed10 Jan 2024

Introduced: 10 Jan 2024

CVE-2022-48560  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:8 python27:2.7/python2-psycopg2 to version 0:2.7.5-8.module_el8.9.0+3640+8d3927b5 or higher.
This issue was patched in ALSA-2024:2987.

NVD Description

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

A use-after-free exists in Python through 3.9 via heappushpop in heapq.

CVSS Scores

version 3.1