CVE-2025-54363: Medium severity Microsoft Knack vulnerability
Withdrawn Advisory This advisory has been withdrawn because the attack surface of this vulnerability is outside of Knack's intended functionality. The maintainer states the following:
These CVEs are invalid. Knack is a CLI framework used by Azure CLI. It's a local library, not a web service. In addition, the regex is used to extract function and parameter docstrings from the source code. It is not used to match user input. Therefore, it does not expose any attack surface. There is no way to use it for ReDoS attack.
This link is maintained to preserve external references.
Original Description Microsoft Knack 0.12.0 allows Regular expression Denial of Service (ReDoS) in the knack.introspection module (issue 1 of 2).
Other sources
Microsoft Knack 0.12.0 allows Regular expression Denial of Service (ReDoS) in the knack.introspection module. extractfullsummaryfromsignature 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.
— NVD
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-54363?
CVE-2025-54363 has a medium severity level due to its potential to cause Denial of Service through Regular Expression exploitation.
How do I fix CVE-2025-54363?
To fix CVE-2025-54363, update Microsoft Knack to the latest version that addresses this Regular Expression Denial of Service vulnerability.
What type of vulnerability is CVE-2025-54363?
CVE-2025-54363 is classified as a Regular Expression Denial of Service (ReDoS) vulnerability.
Which module is affected by CVE-2025-54363?
CVE-2025-54363 specifically affects the knack.introspection module in Microsoft Knack.
What are the potential consequences of CVE-2025-54363?
The potential consequences of CVE-2025-54363 include service disruption due to resource exhaustion caused by ReDoS attacks.