CVE-2025-54364
MEDIUM 6.9CVSS 4.0Withdrawn Advisory: Microsoft Knack ReDoS Vulnerability in the Introspection Module
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.
- Published
- 20 Aug 2025
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Deferred
- Weakness
- CWE-1333
- Also known as
- GHSA-xh9h-692f-mmg4
- Sources
- NVDJSONOSV GHSA-xh9h-692f-mmg4JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | cve@mitre.org (Secondary) | CVSS 4.0 | MEDIUM 6.9 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | knack | <= 0.12.0 |
References
- https://github.com/microsoft/knack · PACKAGE
- https://www.vulncheck.com/advisories/microsoft-knack-python-package-regular-expression-dos · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-54364 · ADVISORY
- https://github.com/microsoft/knack/issues/281 · WEB
- https://github.com/microsoft/knack/issues/281#issuecomment-3218922941 · WEB
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 20 Aug 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 20 Aug 2025)