Skip to content
OpenAdvisories

Description

The file name encoding algorithm used internally in Apache Commons Compress 1.15 to 1.18 can get into an infinite loop when faced with specially crafted inputs. This can lead to a denial of service attack if an attacker can choose the file names inside of an archive created by Compress.

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache Commons Compress 1.15 to 1.18 —

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 libcommons-compress-java 1.18-3 —
Debian 13 libcommons-compress-java 1.18-3 —
Debian 12 libcommons-compress-java 1.18-3 —
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS libcommons-compress-java No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed apache-commons-compress 1.21-1.2 openSUSE-SU-2024:10618-1

Affected packages

Advisories 5

References