Lucene search
K

GLSA-202107-45 : PyCharm Community, Professional: Remote code execution

🗓️ 24 Jan 2022 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 29 Views

PyCharm Community, Professional: Remote code execution vulnerabilit

Related
Refs
Code
ReporterTitlePublishedViews
Family
GithubExploit
Exploit for Insufficient Verification of Data Authenticity in Jetbrains Pycharm
27 Mar 202018:41
githubexploit
Circl
CVE-2021-30005
14 May 202111:02
circl
CNNVD
Jetbrains JetBrains PyCharm 数据伪造问题漏洞
11 May 202100:00
cnnvd
CNVD
JetBrains PyCharm Local Code Execution Vulnerability
12 May 202100:00
cnvd
CVE
CVE-2021-30005
11 May 202111:42
cve
Cvelist
CVE-2021-30005
11 May 202111:42
cvelist
EUVD
EUVD-2021-16949
7 Oct 202500:30
euvd
Gentoo Linux
PyCharm Community, Professional: Remote code execution
20 Jul 202100:00
gentoo
NVD
CVE-2021-30005
11 May 202112:15
nvd
Prion
Design/Logic Flaw
11 May 202112:15
prion
Rows per page
#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#
# The descriptive text and package checks in this plugin were
# extracted from Gentoo Linux Security Advisory GLSA 202107-45.
#
# The advisory text is Copyright (C) 2001-2023 Gentoo Foundation, Inc.
# and licensed under the Creative Commons - Attribution / Share Alike 
# license. See http://creativecommons.org/licenses/by-sa/3.0/
#

include('deprecated_nasl_level.inc');
include("compat.inc");

if (description)
{
  script_id(156982);
  script_version("1.4");
  script_set_attribute(attribute:"plugin_modification_date", value:"2023/12/21");

  script_cve_id("CVE-2021-30005");
  script_xref(name:"GLSA", value:"202107-45");

  script_name(english:"GLSA-202107-45 : PyCharm Community, Professional: Remote code execution");
  script_summary(english:"Checks for updated package(s) in /var/db/pkg");

  script_set_attribute(
    attribute:"synopsis",
    value:
"The remote Gentoo host is missing one or more security-related
patches."
  );
  script_set_attribute(
    attribute:"description",
    value:
"The remote host is affected by the vulnerability described in GLSA-202107-45
(PyCharm Community, Professional: Remote code execution)

    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."
  );
  script_set_attribute(
    attribute:"see_also",
    value:"https://security.gentoo.org/glsa/202107-45"
  );
  script_set_attribute(
    attribute:"solution",
    value:
"All PyCharm Community users should upgrade to the latest version:
      # emerge --sync
      # emerge --ask --oneshot --verbose
      '>=dev-util/pycharm-community-2021.1.2'
    All PyCharm Professional users should upgrade to the latest version:
      # emerge --sync
      # emerge --ask --oneshot --verbose
      '>=dev-util/pycharm-professional-2021.1.2'"
  );
  script_set_cvss_base_vector("CVSS2#AV:L/AC:L/Au:N/C:P/I:P/A:P");
  script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
  script_set_cvss3_base_vector("CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H");
  script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2021-30005");
  script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"false");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:gentoo:linux:pycharm-community");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:gentoo:linux:pycharm-professional");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:gentoo:linux");

  script_set_attribute(attribute:"vuln_publication_date", value:"2021/05/11");
  script_set_attribute(attribute:"patch_publication_date", value:"2021/07/20");
  script_set_attribute(attribute:"plugin_publication_date", value:"2022/01/24");
  script_set_attribute(attribute:"generated_plugin", value:"current");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_copyright(english:"This script is Copyright (C) 2022-2023 and is owned by Tenable, Inc. or an Affiliate thereof.");
  script_family(english:"Gentoo Local Security Checks");

  script_dependencies("ssh_get_info.nasl");
  script_require_keys("Host/local_checks_enabled", "Host/Gentoo/release", "Host/Gentoo/qpkg-list");

  exit(0);
}


include("audit.inc");
include("global_settings.inc");
include("qpkg.inc");

if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
if (!get_kb_item("Host/Gentoo/release")) audit(AUDIT_OS_NOT, "Gentoo");
if (!get_kb_item("Host/Gentoo/qpkg-list")) audit(AUDIT_PACKAGE_LIST_MISSING);


flag = 0;

if (qpkg_check(package:"dev-util/pycharm-community", unaffected:make_list("ge 2021.1.2"), vulnerable:make_list("lt 2021.1.2"))) flag++;
if (qpkg_check(package:"dev-util/pycharm-professional", unaffected:make_list("ge 2021.1.2"), vulnerable:make_list("lt 2021.1.2"))) flag++;

if (flag)
{
  if (report_verbosity > 0) security_warning(port:0, extra:qpkg_report_get());
  else security_warning(0);
  exit(0);
}
else
{
  tested = qpkg_tests_get();
  if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
  else audit(AUDIT_PACKAGE_NOT_INSTALLED, "PyCharm Community / Professional");
}

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

21 Dec 2023 00:00Current
7.8High risk
Vulners AI Score7.8
CVSS 24.6
CVSS 3.17.8
EPSS0.00004
29