Directory Traversal Affecting poco package, versions <1.3.6p1-4+deb7u1build1


Severity

Recommended
0.0
medium
0
10

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.22% (61st 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-UBUNTU1404-POCO-357916
  • published3 Jan 2018
  • disclosed3 Jan 2018

Introduced: 3 Jan 2018

CVE-2017-1000472  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade Ubuntu:14.04 poco to version 1.3.6p1-4+deb7u1build1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream poco package and not the poco package as distributed by Ubuntu. See How to fix? for Ubuntu:14.04 relevant fixed versions and status.

The ZipCommon::isValidPath() function in Zip/src/ZipCommon.cpp in POCO C++ Libraries before 1.8 does not properly restrict the filename value in the ZIP header, which allows attackers to conduct absolute path traversal attacks during the ZIP decompression, and possibly create or overwrite arbitrary files, via a crafted ZIP file, related to a "file path injection vulnerability".