Race Condition Affecting python-perf-debuginfo package, versions <0:4.14.352-267.564.amzn2


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.04% (15th 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-8382912
  • published16 Nov 2024
  • disclosed29 Jul 2024

Introduced: 29 Jul 2024

CVE-2024-41020  (opens in a new tab)
CWE-362  (opens in a new tab)
CWE-667  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 python-perf-debuginfo to version 0:4.14.352-267.564.amzn2 or higher.
This issue was patched in ALAS2-2024-2698.

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:

filelock: Fix fcntl/close race recovery compat path

When I wrote commit 3cad1bc01041 ("filelock: Remove locks reliably when fcntl/close race is detected"), I missed that there are two copies of the code I was patching: The normal version, and the version for 64-bit offsets on 32-bit kernels. Thanks to Greg KH for stumbling over this while doing the stable backport...

Apply exactly the same fix to the compat path for 32-bit kernels.

CVSS Scores

version 3.1