CVE-2025-54363: Medium severity Microsoft Knack vulnerability

Published Aug 20, 2025
·
Updated

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

2 affected components
Microsoft Knack
pip/knack<=0.12.0

Event History

Aug 20, 2025
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Data Sourced
via NVD·03:15 AM
DescriptionSeverityWeakness
Advisory Published
via GitHub·03:30 AM
Data Sourced
via GitHub·03:30 AM
DescriptionWeaknessAffected Software
Aug 29, 2025
Withdrawn
via GitHub·08:14 PM

Frequently Asked Questions

1

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.

2

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.

3

What type of vulnerability is CVE-2025-54363?

CVE-2025-54363 is classified as a Regular Expression Denial of Service (ReDoS) vulnerability.

4

Which module is affected by CVE-2025-54363?

CVE-2025-54363 specifically affects the knack.introspection module in Microsoft Knack.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203