Double Free Affecting python-cffi package, versions <0:1.13.2-3.module+el8.4.0+570+c2eaf144


Severity

Recommended
medium

Based on Rocky 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-ROCKY8-PYTHONCFFI-3220694
  • published5 Jan 2023
  • disclosed12 Nov 2019

Introduced: 12 Nov 2019

CVE-2019-18874  (opens in a new tab)
CWE-415  (opens in a new tab)

How to fix?

Upgrade Rocky-Linux:8 python-cffi to version 0:1.13.2-3.module+el8.4.0+570+c2eaf144 or higher.
This issue was patched in RLSA-2021:4162.

NVD Description

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

psutil (aka python-psutil) through 5.6.5 can have a double free. This occurs because of refcount mishandling within a while or for loop that converts system data into a Python object.

CVSS Base Scores

version 3.1