CVE-2025-54364: Withdrawn Advisory: Microsoft Knack ReDoS Vulnerability in the Introspection Module
This advisory was withdrawn on Aug 29, 2025. The publisher no longer considers it a valid 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.
Published Aug 20, 2025 · Updated Aug 29, 2025
Affected packages
knack
- Ecosystem
- PyPI
- Affected
- <= 0.12.0
- Fixed in
- No patched version yet
- Check
pip show knack
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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 2 of 2).
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-54364
- https://www.vulncheck.com/advisories/microsoft-knack-python-package-regular-expression-dos
- https://github.com/microsoft/knack/issues/281
- https://github.com/microsoft/knack/issues/281#issuecomment-3218922941
- https://github.com/advisories/GHSA-xh9h-692f-mmg4
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
