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

CVE-2025-36854

8.1 Gravità alta CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H 8.1 – Alta

Descrizione

A vulnerability ( CVE-2024-38229 https://www.cve.org/CVERecord ) exists in EOL ASP.NET when closing an HTTP/3 stream while application code is writing to the response body, a race condition may lead to use-after-free, resulting in Remote Code Execution. Per CWE-416: Use After Free https://cwe.mitre.org/data/definitions/416.html , Use After Free is when a product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer. This issue affects EOL ASP.NET 6.0.0 <= 6.0.36 as represented in this CVE, as well as 8.0.0 <= 8.0.8, 9.0.0-preview.1.24081.5 <= 9.0.0.RC.1 as represented in  CVE-2024-38229 https://www.cve.org/CVERecord . Additionally, if you've deployed self-contained applications https://docs.microsoft.com/dotnet/core/deploying/#self-contained-deployments-scd  targeting any of the impacted versions, these applications are also vulnerable and must be recompiled and redeployed. NOTE: This CVE only represents End Of Life (EOL) software components. The vendor, Microsoft, has indicated there will be no future updates nor support provided upon inquiry.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
microsoft .net 6.0 >= 6.0.0 <= 6.0.36 –
microsoft microsoft.aspnetcore.app.runtime.linux-arm >= >=6.0.0 <= 6.0.36 –
microsoft microsoft.aspnetcore.app.runtime.linux-arm64 >= >=6.0.0 <= 6.0.36 –
microsoft microsoft.aspnetcore.app.runtime.linux-musl-arm >= >=6.0.0 <= 6.0.36 –
microsoft microsoft.aspnetcore.app.runtime.linux-musl-arm64 >= >=6.0.0 <= 6.0.36 –
microsoft microsoft.aspnetcore.app.runtime.linux-musl-x64 >= >=6.0.0 <= 6.0.36 –
microsoft microsoft.aspnetcore.app.runtime.linux-x64 >= >=6.0.0 <= 6.0.36 –
microsoft microsoft.aspnetcore.app.runtime.osx-arm64 >= >=6.0.0 <= 6.0.36 –
microsoft microsoft.aspnetcore.app.runtime.osx-x64 >= >=6.0.0 <= 6.0.36 –
microsoft microsoft.aspnetcore.app.runtime.win-arm >= >=6.0.0 <= 6.0.36 –
microsoft microsoft.aspnetcore.app.runtime.win-arm64 >= >=6.0.0 <= 6.0.36 –
microsoft microsoft.aspnetcore.app.runtime.win-x64 >= >=6.0.0 <= 6.0.36 –
microsoft microsoft.aspnetcore.app.runtime.win-x86 >= >=6.0.0 <= 6.0.36 –
microsoft microsoft.aspnetcore.identity >= >=6.0.0 <= 6.0.36 –

Tipo di vulnerabilità

CWE-416 Uso di memoria dopo la liberazione (use after free)

Il prodotto usa o fa riferimento a un’area di memoria dopo averla liberata. Nel frattempo quell’area può essere stata assegnata ad altro: ogni operazione fatta con il vecchio puntatore agisce su dati che non le appartengono più.

Impatto sui sistemi

AmbitoImpatto
Integrità Modificare la memoria
Disponibilità Interruzione del servizio: arresto o riavvio
Riservatezza Leggere la memoria
Integrità, Riservatezza, Disponibilità Eseguire codice o comandi non autorizzati

Come si previene

Architettura e progettazione · Scelta del linguaggio Choose a language that provides automatic memory management.
Sviluppo · Riduzione della superficie di attacco When freeing pointers, be sure to set them to NULL once they are freed. However, the utilization of multiple or complex data structures may lower the usefulness of this strategy.

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

Tutte le 9.637 CVE di tipo CWE-416, con andamento e prevenzione

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