Inefficient Regular Expression Complexity Affecting knack package, versions *


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
0.16% (38th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Inefficient Regular Expression Complexity vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIAN14-KNACK-12089406
  • published21 Aug 2025
  • disclosed20 Aug 2025

Introduced: 20 Aug 2025

NewCVE-2025-54363  (opens in a new tab)
CWE-1333  (opens in a new tab)

How to fix?

There is no fixed version for Debian:14 knack.

NVD Description

Note: Versions mentioned in the description apply only to the upstream knack package and not the knack package as distributed by Debian. See How to fix? for Debian:14 relevant fixed versions and status.

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.