Skip to content
OpenAdvisories
Unscored CVE-2017-1000472 EUVD-2017-1597GHSA-46gc-5p3g-hwvg

The ZipCommon::isValidPath() function in Zip/src/ZipCommon.cpp in POCO C++ Libraries before 1.8 does not properly restrict the filename val…

Published Jan 3, 2018 · Updated Aug 5, 2024 · Assigned by mitre

Description

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".

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 poco 1.8.0-2 —
Debian 13 poco 1.8.0-2 —
Debian 12 poco 1.8.0-2 —
Debian 9 poco 1.7.6+dfsg1-5+deb9u1 DSA-4083-1
Debian 8 poco 1.3.6p1-5+deb8u1 DSA-4083-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Debian 7 poco 1.3.6p1-4+deb7u1 DLA-1239-1
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS poco 1.3.6p1-5.1ubuntu0.1 —
Ubuntu 14.04 LTS poco 1.3.6p1-4+deb7u1build1 —

Advisories 2

References