Integer Underflow Affecting kernel-tools-devel package, versions <0:4.14.291-218.527.amzn2


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.06% (30th 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-KERNELTOOLSDEVEL-3022961
  • published14 Sept 2022
  • disclosed17 Aug 2022

Introduced: 17 Aug 2022

CVE-2022-2869  (opens in a new tab)
CWE-191  (opens in a new tab)
CWE-125  (opens in a new tab)
CWE-787  (opens in a new tab)
First added by Snyk

How to fix?

Upgrade Amazon-Linux:2 kernel-tools-devel to version 0:4.14.291-218.527.amzn2 or higher.
This issue was patched in ALAS2-2022-1838.

NVD Description

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

libtiff's tiffcrop tool has a uint32_t underflow which leads to out of bounds read and write in the extractContigSamples8bits routine. An attacker who supplies a crafted file to tiffcrop could trigger this flaw, most likely by tricking a user into opening the crafted file with tiffcrop. Triggering this flaw could cause a crash or potentially further exploitation.

CVSS Scores

version 3.1