Lucene search
K

GLSA-202506-07 : Python, PyPy: Multiple Vulnerabilities

🗓️ 25 Jun 2025 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 8 Views

Remote host is affected by multiple vulnerabilities in Python and PyPy as per GLSA-202506-07

Related
Refs
Code
ReporterTitlePublishedViews
Family
IBM Security Bulletins
Security Bulletin: Multiple vulnerabilities in IBM Rapid Infrastructure Automation
28 May 202514:39
ibm
IBM Security Bulletins
Security Bulletin: Multiple Vulnerabilities in IBM API Connect
15 Mar 202500:18
ibm
IBM Security Bulletins
Security Bulletin: IBM Watson Speech Services Cartridge is vulnerable to a path traversal in Python [CVE-2025-4517]
17 Dec 202514:16
ibm
IBM Security Bulletins
Security Bulletin: DataStage on Cloud Pak for Data is vulnerable to regular expression DoS and command injection due to the python package (CVE-2024-6232, CVE-2024-9287)
23 Jul 202516:09
ibm
IBM Security Bulletins
Security Bulletin: IBM App Connect Enterprise Certified Container UBI updates
4 Dec 202410:17
ibm
IBM Security Bulletins
Security Bulletin: IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data is vulnerable to multiple Base OS issues
27 Sep 202422:50
ibm
IBM Security Bulletins
Security Bulletin: IBM Maximo Application Suite - Iot Component uses axios 1.7.9 and Python-3.8.17 which is vulnerable to CVE-2023-40217, CVE-2024-6232, CVE-2022-40897, CVE-2024-6345, CVE-2023-5752 and CVE-2025-27152
25 Jun 202508:00
ibm
IBM Security Bulletins
Security Bulletin: Multiple vulnerabilities affect IBM Db2® on Cloud Pak for Data, and Db2 Warehouse on Cloud Pak for Data
28 Mar 202517:38
ibm
IBM Security Bulletins
Security Bulletin: multiple vulnerabilities in IBM Spectrum Symphony with Requests and urlib3
23 Oct 202520:25
ibm
IBM Security Bulletins
Security Bulletin: IBM Watson Speech Services Cartridge is vulnerable to a path traversal in Python [CVE-2025-4138]
17 Dec 202514:11
ibm
Rows per page
#%NASL_MIN_LEVEL 80900
#
# (C) Tenable, Inc.
#
# @NOAGENT@
#
# The descriptive text and package checks in this plugin were
# extracted from Gentoo Linux Security Advisory GLSA 202506-07.
#
# The advisory text is Copyright (C) 2001-2021 Gentoo Foundation, Inc.
# and licensed under the Creative Commons - Attribution / Share Alike
# license. See http://creativecommons.org/licenses/by-sa/3.0/
#

include('compat.inc');

if (description)
{
  script_id(240468);
  script_version("1.5");
  script_set_attribute(attribute:"plugin_modification_date", value:"2026/02/24");

  script_cve_id(
    "CVE-2024-6232",
    "CVE-2024-6923",
    "CVE-2024-7592",
    "CVE-2024-8088",
    "CVE-2024-12718",
    "CVE-2025-4138",
    "CVE-2025-4330",
    "CVE-2025-4516",
    "CVE-2025-4517"
  );
  script_xref(name:"IAVA", value:"2025-A-0444-S");

  script_name(english:"GLSA-202506-07 : Python, PyPy: Multiple Vulnerabilities");

  script_set_attribute(attribute:"synopsis", value:
"");
  script_set_attribute(attribute:"description", value:
"The remote host is affected by the vulnerability described in GLSA-202506-07 (Python, PyPy: Multiple Vulnerabilities)

    Multiple vulnerabilities have been discovered in Python, PyPy3. Please review the CVE identifiers
    referenced below for details.

Tenable has extracted the preceding description block directly from the Gentoo Linux security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version
number.");
  script_set_attribute(attribute:"see_also", value:"https://security.gentoo.org/glsa/202506-07");
  script_set_attribute(attribute:"see_also", value:"https://bugs.gentoo.org/show_bug.cgi?id=929045");
  script_set_attribute(attribute:"see_also", value:"https://bugs.gentoo.org/show_bug.cgi?id=937124");
  script_set_attribute(attribute:"see_also", value:"https://bugs.gentoo.org/show_bug.cgi?id=938432");
  script_set_attribute(attribute:"see_also", value:"https://bugs.gentoo.org/show_bug.cgi?id=939206");
  script_set_attribute(attribute:"see_also", value:"https://bugs.gentoo.org/show_bug.cgi?id=945845");
  script_set_attribute(attribute:"see_also", value:"https://bugs.gentoo.org/show_bug.cgi?id=953493");
  script_set_attribute(attribute:"see_also", value:"https://bugs.gentoo.org/show_bug.cgi?id=956682");
  script_set_attribute(attribute:"see_also", value:"https://bugs.gentoo.org/show_bug.cgi?id=957088");
  script_set_attribute(attribute:"solution", value:
"All Python, PyPy3 users should upgrade to the latest version:

          # emerge --sync
          # emerge --ask --oneshot --verbose >=dev-lang/python-3.14.0_beta2:3.14
          # emerge --ask --oneshot --verbose >=dev-lang/python-3.13.3_p1:3.13
          # emerge --ask --oneshot --verbose >=dev-lang/python-3.12.10_p1:3.12
          # emerge --ask --oneshot --verbose >=dev-lang/python-3.11.12_p1:3.11
          # emerge --ask --oneshot --verbose >=dev-lang/python-3.10.17_p1:3.10
          # emerge --ask --oneshot --verbose >=dev-lang/python-3.9.22_p1:3.9
          # emerge --ask --oneshot --verbose >=dev-lang/python-3.8.20_p7:3.8
          # emerge --ask --oneshot --verbose >=dev-lang/pypy-3.10.7.3.19_p4:3.10
          # emerge --ask --oneshot --verbose >=dev-lang/pypy-3.11.7.3.19_p9:3.11");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C");
  script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C");
  script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H");
  script_set_cvss3_temporal_vector("CVSS:3.0/E:P/RL:O/RC:C");
  script_set_attribute(attribute:"cvss4_vector", value:"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H");
  script_set_attribute(attribute:"cvss4_threat_vector", value:"CVSS:4.0/E:P");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2024-7592");
  script_set_attribute(attribute:"cvss4_score_source", value:"CVE-2024-12718");

  script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"true");

  script_set_attribute(attribute:"vuln_publication_date", value:"2024/08/01");
  script_set_attribute(attribute:"patch_publication_date", value:"2025/06/12");
  script_set_attribute(attribute:"plugin_publication_date", value:"2025/06/25");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:gentoo:linux:pypy");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:gentoo:linux:python");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:gentoo:linux");
  script_set_attribute(attribute:"generated_plugin", value:"current");
  script_set_attribute(attribute:"stig_severity", value:"I");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Gentoo Local Security Checks");

  script_copyright(english:"This script is Copyright (C) 2025-2026 and is owned by Tenable, Inc. or an Affiliate thereof.");

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

  exit(0);
}
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);

var flag = 0;

var packages = [
  {
    'name' : 'dev-lang/pypy',
    'unaffected' : make_list("ge 3.10.7.3.19_p4", "lt 3.10.0"),
    'vulnerable' : make_list("lt 3.10.7.3.19_p4")
  },
  {
    'name' : 'dev-lang/pypy',
    'unaffected' : make_list("ge 3.11.7.3.19_p9", "lt 3.11.0"),
    'vulnerable' : make_list("lt 3.11.7.3.19_p9")
  },
  {
    'name' : 'dev-lang/python',
    'unaffected' : make_list("ge 3.10.17_p1", "lt 3.10.0"),
    'vulnerable' : make_list("lt 3.10.17_p1")
  },
  {
    'name' : 'dev-lang/python',
    'unaffected' : make_list("ge 3.11.12_p1", "lt 3.11.0"),
    'vulnerable' : make_list("lt 3.11.12_p1")
  },
  {
    'name' : 'dev-lang/python',
    'unaffected' : make_list("ge 3.12.10_p1", "lt 3.12.0"),
    'vulnerable' : make_list("lt 3.12.10_p1")
  },
  {
    'name' : 'dev-lang/python',
    'unaffected' : make_list("ge 3.13.3_p1", "lt 3.13.0"),
    'vulnerable' : make_list("lt 3.13.3_p1")
  },
  {
    'name' : 'dev-lang/python',
    'unaffected' : make_list("ge 3.14.0_beta2", "lt 3.14.0_alpha1"),
    'vulnerable' : make_list("lt 3.14.0_beta2")
  },
  {
    'name' : 'dev-lang/python',
    'unaffected' : make_list("ge 3.8.20_p7", "lt 3.8.0"),
    'vulnerable' : make_list("lt 3.8.20_p7")
  },
  {
    'name' : 'dev-lang/python',
    'unaffected' : make_list("ge 3.9.22_p1", "lt 3.9.0"),
    'vulnerable' : make_list("lt 3.9.22_p1")
  }
];

foreach var package( packages ) {
  if (isnull(package['unaffected'])) package['unaffected'] = make_list();
  if (isnull(package['vulnerable'])) package['vulnerable'] = make_list();
  if (qpkg_check(package: package['name'] , unaffected: package['unaffected'], vulnerable: package['vulnerable'])) flag++;
}

# This plugin has a different number of unaffected and vulnerable versions for
# one or more packages. To ensure proper detection, a separate line should be
# used for each fixed/vulnerable version pair.

if (flag)
{
  security_report_v4(
    port       : 0,
    severity   : SECURITY_HOLE,
    extra      : qpkg_report_get()
  );
  exit(0);
}
else
{
  qpkg_tests = list_uniq(qpkg_tests);
  var tested = qpkg_tests_get();
  if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
  else audit(AUDIT_PACKAGE_NOT_INSTALLED, 'Python / PyPy');
}

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

24 Feb 2026 00:00Current
6.7Medium risk
Vulners AI Score6.7
CVSS 3.17.5 - 9.4
CVSS 48.7
EPSS0.02303
SSVC
8