CVE-2025-54363

Microsoft Knack 0.12.0 allows Regular expression Denial of Service (ReDoS) in the knack.introspection module. extract_full_summary_from_signature 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.

Configurations

No configuration.

History

21 Aug 2025, 16:15

Type Values Removed Values Added
Summary (en) Microsoft Knack 0.12.0 allows Regular expression Denial of Service (ReDoS) in the knack.introspection module (issue 1 of 2). (en) Microsoft Knack 0.12.0 allows Regular expression Denial of Service (ReDoS) in the knack.introspection module. extract_full_summary_from_signature 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.

21 Aug 2025, 00:15

Type Values Removed Values Added
References
  • () https://github.com/microsoft/knack/issues/281 -

20 Aug 2025, 14:39

Type Values Removed Values Added
Summary
  • (es) Microsoft Knack 0.12.0 permite la denegación de servicio por expresiones regulares (ReDoS) en el módulo knack.introspection (problema 1 de 2).

20 Aug 2025, 03:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-08-20 03:15

Updated : 2025-08-21 16:15


NVD link : CVE-2025-54363

Mitre link : CVE-2025-54363

CVE.ORG link : CVE-2025-54363


JSON object : View

Products Affected

No product.

CWE
CWE-1333

Inefficient Regular Expression Complexity