Resource Leak Affecting python-perf package, versions <0:4.14.304-226.531.amzn2


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.04% (11th 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-PYTHONPERF-5496343
  • published4 May 2023
  • disclosed25 May 2023

Introduced: 4 May 2023

CVE-2023-0459  (opens in a new tab)
CWE-402  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 python-perf to version 0:4.14.304-226.531.amzn2 or higher.
This issue was patched in ALAS2-2023-1932.

NVD Description

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

Copy_from_user on 64-bit versions of the Linux kernel does not implement the __uaccess_begin_nospec allowing a user to bypass the "access_ok" check and pass a kernel pointer to copy_from_user(). This would allow an attacker to leak information. We recommend upgrading beyond commit 74e19ef0ff8061ef55957c3abd71614ef0f42f47

CVSS Scores

version 3.1