CVE-2025-54363

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-54363
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-54363.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-54363
Aliases
Downstream
Published
2025-08-20T03:15:35Z
Modified
2025-08-21T16:57:26.656064Z
Summary
[none]
Details

Microsoft Knack 0.12.0 allows Regular expression Denial of Service (ReDoS) in the knack.introspection module. extractfullsummaryfromsignature 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.

References

Affected packages

Debian:11 / knack

Package

Name
knack
Purl
pkg:deb/debian/knack?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.8.0~rc2-1
0.8.2-1
0.9.0-1~bpo11+1
0.9.0-1
0.10.0-1~bpo11+1
0.10.0-1
0.10.1-1~bpo11+1
0.10.1-1
0.11.0-1~bpo12+1
0.11.0-1
0.12.0-1~bpo12+1
0.12.0-1
0.12.0-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / knack

Package

Name
knack
Purl
pkg:deb/debian/knack?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.10.1-1
0.11.0-1~bpo12+1
0.11.0-1
0.12.0-1~bpo12+1
0.12.0-1
0.12.0-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / knack

Package

Name
knack
Purl
pkg:deb/debian/knack?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.12.0-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:14 / knack

Package

Name
knack
Purl
pkg:deb/debian/knack?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.12.0-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}