{"id":"CVE-2025-54364","published":"2025-08-20T00:00:00Z","modified":"2025-08-26T13:42:50Z","title":"Microsoft Knack 0.12.0 allows Regular expression Denial of Service (ReDoS) in the knack.introspection module.…","vendor":"Microsoft","product":"Knack","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"MEDIUM","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00623,"percentile":0.44209,"provenance":"source"},"cwes":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"references":[{"url":"https://github.com/microsoft/knack","tags":[]},{"url":"https://www.vulncheck.com/advisories/microsoft-knack-python-package-regular-expression-dos","tags":[]}],"priority":{"score":13.7,"factors":[{"name":"EPSS percentile","points":8.84},{"name":"CVSS severity","points":4.83}]},"vendorSlug":"microsoft","affectedVersions":[{"vendor":"Microsoft","product":"Knack","versions":["0.12.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-08-26T13:42:34.239313Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-25267","exploited":false,"provenance":"source"}}