Name | CVE-2025-54363 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 1111774 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
knack (PTS) | bullseye | 0.8.0~rc2-1 | vulnerable |
| bookworm | 0.10.1-1 | vulnerable |
| forky, sid, trixie | 0.12.0-2 | vulnerable |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
knack | source | (unstable) | (unfixed) | unimportant | | 1111774 |
Notes
https://github.com/microsoft/knack/issues/281
Negligible security impact; disputed as security issue upstream in context
of its use by Azure CLI