Improper Handling of Values Affecting perf package, versions <0:4.14.343-259.562.amzn2


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.04% (6th 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-PERF-7247412
  • published12 Jun 2024
  • disclosed18 Jan 2024

Introduced: 18 Jan 2024

CVE-2024-0607  (opens in a new tab)
CWE-229  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 perf to version 0:4.14.343-259.562.amzn2 or higher.
This issue was patched in ALAS2-2024-2549.

NVD Description

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

A flaw was found in the Netfilter subsystem in the Linux kernel. The issue is in the nft_byteorder_eval() function, where the code iterates through a loop and writes to the dst array. On each iteration, 8 bytes are written, but dst is an array of u32, so each element only has space for 4 bytes. That means every iteration overwrites part of the previous element corrupting this array of u32. This flaw allows a local user to cause a denial of service or potentially break NetFilter functionality.

CVSS Scores

version 3.1