Out-of-Bounds Affecting unzip package, versions <0:6.0-57.amzn2022.0.1


Severity

Recommended
low

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.18% (57th 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-AMZN2022-UNZIP-3162925
  • published8 Dec 2022
  • disclosed9 Feb 2022

Introduced: 9 Feb 2022

CVE-2022-0530  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2022 unzip to version 0:6.0-57.amzn2022.0.1 or higher.
This issue was patched in ALAS2022-2022-221.

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:2022 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