Directory Traversal Affecting pocoproject/poco package, versions [,1.8)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.22% (62nd 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-UNMANAGED-POCOPROJECTPOCO-2366719
  • published26 Jan 2022
  • disclosed3 Jan 2018
  • creditUnknown

Introduced: 3 Jan 2018

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

How to fix?

Upgrade pocoproject/poco to version 1.8 or higher.

Overview

Affected versions of this package are vulnerable to Directory Traversal. 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".

References

CVSS Base Scores

version 3.1