- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 202107-37
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                           https://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

 Severity: Normal
    Title: Apache Commons Collections: Remote code execution
     Date: July 16, 2021
     Bugs: #739348
       ID: 202107-37

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

Apache Commons Collections unsafely deserializes untrusted input,
potentially resulting in arbitrary code execution.

Background
==========

Apache Commons Collections extends the JCF classes with new interfaces,
implementations and utilities.

Affected packages
=================

    -------------------------------------------------------------------
     Package              /     Vulnerable     /            Unaffected
    -------------------------------------------------------------------
  1  dev-java/commons-collections
                                  < 3.2.2                    >= 3.2.2 

Description
===========

Some classes in the Apache Commons Collections functor package
deserialized potentially untrusted input by default.

Impact
======

Deserializing untrusted input using Apache Commons Collections could
result in remote code execution.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All Apache Commons Collections users should upgrade to the latest
version:

  # emerge --sync
  # emerge --ask --oneshot -v ">=dev-java/commons-collections-3.2.2"

References
==========

[ 1 ] CVE-2017-15708
      https://nvd.nist.gov/vuln/detail/CVE-2017-15708

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

 https://security.gentoo.org/glsa/202107-37

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users' machines is of utmost
importance to us. Any security concerns should be addressed to
[email protected] or alternatively, you may file a bug at
https://bugs.gentoo.org.

License
=======

Copyright 2021 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

https://creativecommons.org/licenses/by-sa/2.5