Information Exposure Affecting perf package, versions <0:4.14.294-220.533.amzn2


Severity

Recommended
high

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-3042974
  • published12 Oct 2022
  • disclosed24 Aug 2022

Introduced: 24 Aug 2022

CVE-2021-4159  (opens in a new tab)
CWE-202  (opens in a new tab)
CWE-1230  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 perf to version 0:4.14.294-220.533.amzn2 or higher.
This issue was patched in ALAS2-2022-1852.

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 vulnerability was found in the Linux kernel's EBPF verifier when handling internal data structures. Internal memory locations could be returned to userspace. A local attacker with the permissions to insert eBPF code to the kernel can use this to leak internal kernel memory details defeating some of the exploit mitigations in place for the kernel.

CVSS Scores

version 3.1