Use of Uninitialized Resource Affecting kernel-headers package, versions <0:4.14.268-205.500.amzn2


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.05% (21st 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-KERNELHEADERS-2419881
  • published9 Mar 2022
  • disclosed4 Feb 2022

Introduced: 4 Feb 2022

CVE-2022-24448  (opens in a new tab)
CWE-908  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 kernel-headers to version 0:4.14.268-205.500.amzn2 or higher.
This issue was patched in ALAS2-2022-1761.

NVD Description

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

An issue was discovered in fs/nfs/dir.c in the Linux kernel before 5.16.5. If an application sets the O_DIRECTORY flag, and tries to open a regular file, nfs_atomic_open() performs a regular lookup. If a regular file is found, ENOTDIR should occur, but the server instead returns uninitialized data in the file descriptor.

CVSS Scores

version 3.1