Buffer Overflow Affecting python package, versions <0:2.4.3-24.el5_3.6


Severity

Recommended
medium

Based on Oracle Linux security rating.

Threat Intelligence

EPSS
1.74% (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-ORACLE5-PYTHON-2449754
  • published10 Apr 2022
  • disclosed18 Apr 2008

Introduced: 18 Apr 2008

CVE-2008-1887  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

Upgrade Oracle:5 python to version 0:2.4.3-24.el5_3.6 or higher.
This issue was patched in ELSA-2009-1176.

NVD Description

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

Python 2.5.2 and earlier allows context-dependent attackers to execute arbitrary code via multiple vectors that cause a negative size value to be provided to the PyString_FromStringAndSize function, which allocates less memory than expected when assert() is disabled and triggers a buffer overflow.

References

CVSS Scores

version 3.1