---
cve: "CVE-2025-54364"
severity: "MEDIUM"
cvss: 6.9
epss: "36%"
vendor: "Microsoft"
kev: false
exploited: false
published: "2025-08-20 03:15:35"
tags: [cve, security, medium]
source: tsecurity.de CVE-Dossier
exported: "2026-09-11T12:21:01+02:00"
---

# CVE-2025-54364

> 6.9 MEDIUM · 🧪 PoC

## Beschreibung

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.

## CVSS-Vektor

```
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
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Lokal | good |
| AC Komplexität | Gering | bad |
| PR Privilegien | Keine | bad |
| UI Interaktion | Keine | bad |

## Referenzen

- <https://github.com/microsoft/knack>
- <https://www.vulncheck.com/advisories/microsoft-knack-python-package-regular-expression-dos>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2025-54364) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
