1. Archivio CVE
  2. 2026
  3. CVE-2026-93710

CVE-2026-93710

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

Descrizione

Dancer2 versions from 2.0.0 before 2.2.0 for Perl dispatch a route that a dying hook refused when the exception handler halts the response in compile_hooks. A hook that dies fires core.app.hook_exception, then calls cleanup unless the failing hook is the exception handler. A handler that halts does not stop that cleanup, which discards the request, response and session the dispatcher has yet to read, so the refused route runs. The handler has to halt the response object by calling its halt method or setting is_halted: the halt keyword unwinds through with_return before cleanup runs. A check in a before hook is not enforced: the caller gets the refusal, while the route body runs and its writes land.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
– dancer2 >= 2.0.0 < 2.2.0 –

Tipo di vulnerabilità

CWE-460 Improper Cleanup on Thrown Exception

The product does not clean up its state or incorrectly cleans up its state when an exception is thrown.

Impatto sui sistemi

AmbitoImpatto
Altro Stato imprevisto, Dipende dal contesto

Come si previene

Sviluppo If one breaks from a loop or function by throwing an exception, make sure that cleanup happens or that you should exit the program. Use throwing exceptions sparsely.

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

Tutte le 27 CVE di tipo CWE-460, con andamento e prevenzione

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