CVE-2026-46378

Dasel is a command-line tool and library for querying, modifying, and transforming data structures. From 3.0.0 until 3.10.1, the selector lexer matchRegexPattern closure in (*Tokenizer).parseCurRune in selector/lexer/tokenize.go loops while tokenizing an unterminated regex literal such as r/ because peekRuneEqual returns false after the end of input, allowing attacker-controlled selector strings to consume CPU indefinitely. This issue is fixed in version 3.10.1.
Configurations

No configuration.

History

24 Oct 2026, 20:10

Type Values Removed Values Added
Summary
  • (es) Dasel es una herramienta de línea de comandos y biblioteca para consultar, modificar y transformar estructuras de datos. Desde la versión 3.0.0 hasta la 3.10.1, el cierre matchRegexPattern del analizador léxico de selectores en (Tokenizer).parseCurRune en selector/lexer/tokenize.go entra en un bucle al tokenizar un literal de expresión regular no terminado como r/ porque peekRuneEqual devuelve falso después del final de la entrada, permitiendo que cadenas de selectores controladas por el atacante consuman CPU indefinidamente. Este problema está solucionado en la versión 3.10.1.

Information

Published : 2026-07-16 19:16

Updated : 2026-10-24 20:10


NVD link : CVE-2026-46378

Mitre link : CVE-2026-46378

CVE.ORG link : CVE-2026-46378


JSON object : View

Products Affected

No product.

CWE
CWE-835

Loop with Unreachable Exit Condition ('Infinite Loop')