Out-of-bounds Write Affecting unzip package, versions <0:6.0-57.amzn2023.0.2


Severity

Recommended
low

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
2.42% (82nd 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-AMZN2023-UNZIP-3340605
  • published6 Mar 2023
  • disclosed9 Feb 2022

Introduced: 9 Feb 2022

CVE-2022-0529  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 unzip to version 0:6.0-57.amzn2023.0.2 or higher.
This issue was patched in ALAS2023-2023-029.

NVD Description

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

A flaw was found in Unzip. The vulnerability occurs during the conversion of a wide string to a local string that leads to a heap of out-of-bound write. This flaw allows an attacker to input a specially crafted zip file, leading to a crash or code execution.

CVSS Base Scores

version 3.1