SecurityContext

CVE-2025-54364: Microsoft Knack - Denial of Service

  • Cve: CVE-2025-54364
  • Name: Microsoft Knack - Denial of Service
  • Description: 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.
  • Impact: Attackers can cause denial of service by triggering resource exhaustion via crafted regular expressions.
  • Remediation: Update to the latest version of Microsoft Knack.
  • Vulnerability type: denial_of_service
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.9
  • Cvss 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/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
  • Epss score: 0.00412
  • Epss percentile: 0.3596
  • Assignee: [email protected]
  • Published at: 2025-08-20T03:15:35Z
  • Age in days: 461
  • Modified at: 2026-06-17T09:39:55Z
  • References total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-54364
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-1333Inefficient Regular Expression Complexity

References

UrlSourceTags
https://github.com/microsoft/knacknvd
https://www.vulncheck.com/advisories/microsoft-knack-python-package-regular-expression-dosnvd

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts