1. Archivio CVE
  2. 2025
  3. CVE-2025-53365

CVE-2025-53365

8.7 Gravità alta CVSS v4.0 · fonte NVD CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X 8.7 – Alta

Descrizione

The MCP Python SDK, called `mcp` on PyPI, is a Python implementation of the Model Context Protocol (MCP). Prior to version 1.10.0, if a client deliberately triggers an exception after establishing a streamable HTTP session, this can lead to an uncaught ClosedResourceError on the server side, causing the server to crash and requiring a restart to restore service. Impact may vary depending on the deployment conditions, and presence of infrastructure-level resilience measures. Version 1.10.0 contains a patch for the issue.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
modelcontextprotocol python-sdk < 1.10.0 –
Tutte le 8 vulnerabilità di Modelcontextprotocol Python-sdk

Tipo di vulnerabilità

CWE-248 Uncaught Exception

An exception is thrown from a function, but it is not caught.

Impatto sui sistemi

AmbitoImpatto
Disponibilità, Riservatezza Interruzione del servizio: arresto o riavvio, Leggere i dati dell’applicazione

Come si previene

Requisiti The choice between a language which has named or unnamed exceptions needs to be done. While unnamed exceptions exacerbate the chance of not properly dealing with an exception, named exceptions suffer from the up call version of the weak base class problem.
Requisiti A language can be used which requires, at compile time, to catch all serious exceptions. However, one must make sure to use the most current version of the API as new exceptions could be added.
Sviluppo Catch all relevant exceptions. This is the recommended solution. Ensure that all exceptions are handled in such a way that you can be sure of the state of your system at any given moment.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 352 CVE di tipo CWE-248, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org