Incorrect Conversion between Numeric Types Affecting kernel-tools package, versions <0:4.14.281-212.502.amzn2


Severity

Recommended
0.0
high
0
10

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-KERNELTOOLS-5441131
  • published21 Apr 2023
  • disclosed1 Sept 2022

Introduced: 1 Sep 2022

CVE-2022-2639  (opens in a new tab)
CWE-681  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 kernel-tools to version 0:4.14.281-212.502.amzn2 or higher.
This issue was patched in ALAS2-2022-1798.

NVD Description

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

An integer coercion error was found in the openvswitch kernel module. Given a sufficiently large number of actions, while copying and reserving memory for a new action of a new flow, the reserve_sfa_size() function does not return -EMSGSIZE as expected, potentially leading to an out-of-bounds write access. This flaw allows a local user to crash or potentially escalate their privileges on the system.

CVSS Scores

version 3.1