Numeric Errors Affecting perf package, versions <0:4.14.231-173.360.amzn2


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.06% (26th 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-1698213
  • published27 Sept 2021
  • disclosed1 Feb 2019

Introduced: 1 Feb 2019

CVE-2019-7308  (opens in a new tab)
CWE-189  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 perf to version 0:4.14.231-173.360.amzn2 or higher.
This issue was patched in ALAS2-2021-1627.

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.

kernel/bpf/verifier.c in the Linux kernel before 4.20.6 performs undesirable out-of-bounds speculation on pointer arithmetic in various cases, including cases of different branches with different state or limits to sanitize, leading to side-channel attacks.