Resource Leak Affecting kernel package, versions <0:4.14.305-155.531.amzn1


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.04% (11th 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-AMZN201803-KERNEL-5496904
  • published4 May 2023
  • disclosed25 May 2023

Introduced: 4 May 2023

CVE-2023-0459  (opens in a new tab)
CWE-402  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 kernel to version 0:4.14.305-155.531.amzn1 or higher.
This issue was patched in ALAS-2023-1706.

NVD Description

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

Copy_from_user on 64-bit versions of the Linux kernel does not implement the __uaccess_begin_nospec allowing a user to bypass the "access_ok" check and pass a kernel pointer to copy_from_user(). This would allow an attacker to leak information. We recommend upgrading beyond commit 74e19ef0ff8061ef55957c3abd71614ef0f42f47

CVSS Scores

version 3.1