Sari la conținut
RedCVE

CVE-2026-121577Lucasrodes Whatstk regular expression denial of service (ReDoS)

lucasrodesPublicat:

Scor CVSS

6.7

Mediu

CVSS 4.0 de la 4daa8cea-433a-44bd-9456-53b127fc289a

Probabilitate de exploatare (EPSS)

0.13%

Șansă de 0.13% să fie exploatată în următoarele 30 de zile, peste 2.49% dintre toate CVE-urile.

CISA KEV

Nu este în KEV

CISA nu a raportat până acum exploatări confirmate.

Descrierea oficială

Inefficient Regular Expression Complexity (CWE-1333) in generate_regex() (whatstk/whatsapp/parser.py) in whatstk from 0.2.0 before 0.9.0 allows a party that supplies a chat export to consume the CPU of the process that parses it for an unbounded time, because the function builds the header regular expression by replacing each %x code with its named capture group and leaves every other character of the header format in the pattern unescaped. A header whose date separator is a regular expression metacharacter therefore alters the pattern instead of matching itself: a separator of + quantifies the preceding capture group, giving (?P<day>\d{1,2})+(?P<month>\d{1,2})+(?P<year>\d{2,4}), and a run of digits that cannot complete the header then makes the engine try every way of partitioning that run. Header auto detection is enabled by default and derives the format from the text of the file, so the separator is taken from the export itself and no header format has to be passed by the caller. Separators of (, ) and \ instead raise re.PatternError, separators of *, | and ? raise TypeError, and separators of ^ and $ raise KeyError, none of which the library catches. This results in the parse of a file of a few hundred bytes consuming CPU without completing, or in an uncaught exception in the calling program.

Sursa: NVD · CNA: 4daa8cea-433a-44bd-9456-53b127fc289a

Cum îl remediezi, pas cu pas

  1. Verifică dacă ești afectat

    Identifică toate sistemele care rulează lucasrodes Whatstk și compară versiunea lor cu versiunile afectate.

  2. Actualizează la o versiune remediată

    • Actualizează Whatstk la 0.9.0 sau mai nou.
  3. Confirmă remedierea

    Verifică dacă toate sistemele afectate raportează acum o versiune remediată și revezi avizul furnizorului: remedierile sunt uneori revizuite.

Ți-a fost util?

Cum poate fi exploatată

Vector de atac
Local
Complexitatea atacului
Scăzut
Condiții de atac
Niciunul
Privilegii necesare
Niciunul
Interacțiune cu utilizatorul
Activă
Confidențialitate
Niciunul
Integritate
Niciunul
Disponibilitate
Ridicat

Valorile în roșu fac vulnerabilitatea mai ușor de exploatat sau mai gravă. CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/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

Produse afectate

Produse afectateVersiuni
lucasrodes Whatstk≥ 0.2.0, < 0.9.0

Tip de slăbiciune

  • CWE-1333 regular expression denial of service (ReDoS)

Cronologie

  1. Publicat:
  2. Ultima modificare:

Întrebări frecvente

Este CVE-2026-121577 exploatată?

Până acum nu există exploatări confirmate în catalogul CISA KEV. Scorul EPSS estimează o probabilitate de 0.1% de exploatare în următoarele 30 de zile.

Care este scorul CVSS pentru CVE-2026-121577?

CVE-2026-121577 are un scor de bază CVSS 4.0 de 6.7 (mediu).

Ce versiuni sunt afectate?

Lucasrodes Whatstk (≥ 0.2.0, < 0.9.0)

Există patch pentru CVE-2026-121577?

Înregistrarea oficială trimite la avize sau patch-uri ale producătorului; vezi „Ce trebuie să faci” mai sus.

Referințe

Date: NVD, CVE.org (cvelistV5), CISA KEV și FIRST EPSS. Rezumat scris de RedCVE cu ajutorul AI, pe baza datelor oficiale.