Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 802078 (CVE-2021-35515, CVE-2021-35516, CVE-2021-35517, CVE-2021-36090) - dev-java/commons-compress: multiple vulnerabilities (CVE-2021-{35515,35516,35517,36090})
Summary: dev-java/commons-compress: multiple vulnerabilities (CVE-2021-{35515,35516,35...
Status: CONFIRMED
Alias: CVE-2021-35515, CVE-2021-35516, CVE-2021-35517, CVE-2021-36090
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
URL:
Whiteboard: B3 [ebuild]
Keywords:
Depends on: 805890
Blocks:
  Show dependency tree
 
Reported: 2021-07-13 22:44 UTC by John Helmert III
Modified: 2021-08-08 09:09 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Helmert III gentoo-dev Security 2021-07-13 22:44:00 UTC
CVE-2021-35515 (https://lists.apache.org/thread.html/r19ebfd71770ec0617a9ea180e321ef927b3fefb4c81ec5d1902d20ab%40%3Cuser.commons.apache.org%3E):

When reading a specially crafted 7Z archive, the construction of the list of codecs that decompress an entry can result in an infinite loop. This could be used to mount a denial of service attack against services that use Compress' sevenz package.

CVE-2021-35516 (https://lists.apache.org/thread.html/rf68442d67eb166f4b6cf0bbbe6c7f99098c12954f37332073c9822ca%40%3Cuser.commons.apache.org%3E):

When reading a specially crafted 7Z archive, Compress can be made to allocate large amounts of memory that finally leads to an out of memory error even for very small inputs. This could be used to mount a denial of service attack against services that use Compress' sevenz package.

CVE-2021-35517 (https://lists.apache.org/thread.html/r605d906b710b95f1bbe0036a53ac6968f667f2c249b6fbabada9a940%40%3Cuser.commons.apache.org%3E):

When reading a specially crafted TAR archive, Compress can be made to allocate large amounts of memory that finally leads to an out of memory error even for very small inputs. This could be used to mount a denial of service attack against services that use Compress' tar package.

CVE-2021-36090 (https://lists.apache.org/thread.html/rc4134026d7d7b053d4f9f2205531122732405012c8804fd850a9b26f%40%3Cuser.commons.apache.org%3E):

When reading a specially crafted ZIP archive, Compress can be made to allocate large amounts of memory that finally leads to an out of memory error even for very small inputs. This could be used to mount a denial of service attack against services that use Compress' zip package.


Fixes in 1.21, please bump
Comment 1 Miroslav Šulc gentoo-dev 2021-07-14 05:44:09 UTC
the new version introduces a dependency on asm (3.2). i was not able to compile the new version of commons-compress against asm:9 nor asm:5 so it seems we need to package asm-3.3.1 first to be able to bump commons-compress to 1.21.
Comment 2 NATTkA bot gentoo-dev 2021-07-29 17:21:05 UTC Comment hidden (obsolete)
Comment 3 NATTkA bot gentoo-dev 2021-07-29 17:29:13 UTC Comment hidden (obsolete)
Comment 4 NATTkA bot gentoo-dev 2021-07-29 17:37:09 UTC Comment hidden (obsolete)
Comment 5 NATTkA bot gentoo-dev 2021-07-29 17:45:12 UTC Comment hidden (obsolete)
Comment 6 NATTkA bot gentoo-dev 2021-07-29 17:53:15 UTC Comment hidden (obsolete)
Comment 7 NATTkA bot gentoo-dev 2021-07-29 18:01:11 UTC Comment hidden (obsolete)
Comment 8 NATTkA bot gentoo-dev 2021-07-29 18:09:31 UTC
Package list is empty or all packages have requested keywords.
Comment 9 Volkmar W. Pogatzki 2021-08-08 09:09:06 UTC
(In reply to Miroslav Šulc from comment #1)
> the new version introduces a dependency on asm (3.2). i was not able to
> compile the new version of commons-compress against asm:9 nor asm:5 so it
> seems we need to package asm-3.3.1 first to be able to bump commons-compress
> to 1.21.

Upstream should lift to newer asm version:
https://issues.apache.org/jira/browse/COMPRESS-582