Memory Leak Affecting python-perf-debuginfo package, versions <0:4.14.276-211.499.amzn2


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.25% (16th 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-AMZN2-PYTHONPERFDEBUGINFO-10265184
  • published30 May 2025
  • disclosed26 Feb 2025

Introduced: 26 Feb 2025

CVE-2022-49224  (opens in a new tab)
CWE-401  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 python-perf-debuginfo to version 0:4.14.276-211.499.amzn2 or higher.
This issue was patched in ALAS2-2024-2569.

NVD Description

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

In the Linux kernel, the following vulnerability has been resolved:

power: supply: ab8500: Fix memory leak in ab8500_fg_sysfs_init

kobject_init_and_add() takes reference even when it fails. According to the doc of kobject_init_and_add():

If this function returns an error, kobject_put() must be called to properly clean up the memory associated with the object.

Fix memory leak by calling kobject_put().

CVSS Base Scores

version 3.1