Improper Initialization Affecting perf package, versions <0:4.14.231-173.360.amzn2


Severity

Recommended
high

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-PERF-1697984
  • published27 Sept 2021
  • disclosed6 Apr 2021

Introduced: 6 Apr 2021

CVE-2021-28688  (opens in a new tab)
CWE-665  (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.

The fix for XSA-365 includes initialization of pointers such that subsequent cleanup code wouldn't use uninitialized or stale values. This initialization went too far and may under certain conditions also overwrite pointers which are in need of cleaning up. The lack of cleanup would result in leaking persistent grants. The leak in turn would prevent fully cleaning up after a respective guest has died, leaving around zombie domains. All Linux versions having the fix for XSA-365 applied are vulnerable. XSA-365 was classified to affect versions back to at least 3.11.

CVSS Scores

version 3.1