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

 Severity: Normal
    Title: PyCharm Community, Professional: Remote code execution
     Date: July 20, 2021
     Bugs: #797892
       ID: 202107-45

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

Synopsis
========

A vulnerability has been found in PyCharm Community and Professional,
potentially resulting in arbitrary code execution.

Background
==========

PyCharm is the Python IDE for professional developers.

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

    -------------------------------------------------------------------
     Package              /     Vulnerable     /            Unaffected
    -------------------------------------------------------------------
  1  dev-util/pycharm-community
                                 < 2021.1.2               >= 2021.1.2 
  2  dev-util/pycharm-professional
                                 < 2021.1.2               >= 2021.1.2 
    -------------------------------------------------------------------
     2 affected packages

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

Insufficient validation exists within PyCharm's checks for fetching
projects from VCS.

Impact
======

If a victim can be enticed into fetching a VCS project via PyCharm, a
remote attacker could achieve remote code execution.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All PyCharm Community users should upgrade to the latest version:

  # emerge --sync
  # emerge --ask --oneshot -v ">=dev-util/pycharm-community-2021.1.2"

All PyCharm Professional users should upgrade to the latest version:

  # emerge --sync
  # emerge -a --oneshot -v ">=dev-util/pycharm-professional-2021.1.2"

References
==========

[ 1 ] CVE-2021-30005
      https://nvd.nist.gov/vuln/detail/CVE-2021-30005

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

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

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

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