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

CVE-2026-120631

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

CGI::Cookie versions from 4.67 before 5.00 for Perl allow denial of service via the client cookie expires value used as a regex in parse. CGI's cookie method reads the Cookie request header through parse, which interpolates the header's expires value unescaped into the substitution pattern that removes it from the cookie string. A client can make the request die with an invalid pattern, or tie up the process with one that backtracks catastrophically.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
– cgi >= 4.67 < 5.00 –
Tutte le 20 vulnerabilità di Cgi

Tipo di vulnerabilità

CWE-625 Permissive Regular Expression

The product uses a regular expression that does not sufficiently restrict the set of allowed values.

Impatto sui sistemi

AmbitoImpatto
Controllo degli accessi Aggirare i meccanismi di protezione

Come si previene

Sviluppo When applicable, ensure that the regular expression marks beginning and ending string patterns, such as /^string$/ for Perl.

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

Tutte le 20 CVE di tipo CWE-625, con andamento e prevenzione

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