Directory Traversal Affecting zziplib package, versions <0:0.13.62-12.amzn2


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.05% (24th 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 Learn

Learn about Directory Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2-ZZIPLIB-1688353
  • published27 Sept 2021
  • disclosed1 Oct 2018

Introduced: 1 Oct 2018

CVE-2018-17828  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 zziplib to version 0:0.13.62-12.amzn2 or higher.
This issue was patched in ALAS2-2020-1551.

NVD Description

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

Directory traversal vulnerability in ZZIPlib 0.13.69 allows attackers to overwrite arbitrary files via a .. (dot dot) in a zip file, because of the function unzzip_cat in the bins/unzzipcat-mem.c file.