{"id":"CVE-2025-54363","state":"PUBLISHED","title":"Microsoft Knack 0.12.0 allows Regular expression Denial of Service (ReDoS) in the knack.introspection module. extract_full_summary_from_signature employs an inefficient regular exp","description":"Microsoft Knack 0.12.0 allows Regular expression Denial of Service (ReDoS) in the knack.introspection module. extract_full_summary_from_signature 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.","publishedAt":"2025-08-20T00:00:00.000Z","updatedAt":"2025-08-21T15:37:24.848Z","severity":{"score":6.9,"label":"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","source":"mitre"},"assigner":"mitre","products":["Microsoft Knack"],"affected":[{"vendor":"Microsoft","product":"Knack","defaultStatus":"unknown","versions":[{"version":"0.12.0","status":"affected","versionType":"custom"}]}],"references":["https://github.com/microsoft/knack","https://www.vulncheck.com/advisories/microsoft-knack-python-package-regular-expression-dos","https://github.com/microsoft/knack/issues/281"],"weaknesses":["CWE-1333"],"ingestedAt":"2026-10-29T20:09:31.862Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/54xxx/CVE-2025-54363.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-54363","state":"PUBLISHED","datePublished":"2025-08-20T00:00:00.000Z","dateUpdated":"2025-08-21T15:37:24.848Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2025-07-21T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"Microsoft Knack 0.12.0 allows Regular expression Denial of Service (ReDoS) in the knack.introspection module. extract_full_summary_from_signature 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."}],"affected":[{"vendor":"Microsoft","product":"Knack","defaultStatus":"unknown","versions":[{"version":"0.12.0","status":"affected","versionType":"custom"}]}],"references":[{"url":"https://github.com/microsoft/knack"},{"url":"https://www.vulncheck.com/advisories/microsoft-knack-python-package-regular-expression-dos"},{"url":"https://github.com/microsoft/knack/issues/281"}],"metrics":[{"cvssV4_0":{"version":"4.0","baseScore":6.9,"baseSeverity":"MEDIUM","vectorString":"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"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1333","description":"CWE-1333 Inefficient Regular Expression Complexity","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"mitre","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateUpdated":"2025-08-21T15:37:24.848Z"},"x_generator":{"engine":"enrichogram 0.0.1"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-08-20T13:37:39.030815Z","id":"CVE-2025-54363","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-08-20T13:37:53.235Z"}}]}}}