Microsoft Knack 0.12.0 allows Regular expression Denial of Service (ReDoS) in the knack.introspection module. option_descriptions employs an inefficient regular expression pattern: "\s(:param)\s+(.+?)\s:(.*)" that is susceptible to catastrophic backtracking when processing crafted docstrings containing a large volume of whitespace without a terminating colon. An attacker who can control or inject docstring content into affected applications can trigger excessive CPU consumption. This software is used by Azure CLI.
CVSS
No CVSS.
References
Configurations
No configuration.
History
No history.
Information
Published : 2025-08-20 03:15
Updated : 2025-08-21 16:15
NVD link : CVE-2025-54364
Mitre link : CVE-2025-54364
CVE.ORG link : CVE-2025-54364
JSON object : View
Products Affected
No product.
CWE
CWE-1333
Inefficient Regular Expression Complexity
