UBUNTU-CVE-2025-54364

Source
https://ubuntu.com/security/CVE-2025-54364
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-54364.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2025-54364
Upstream
Published
2025-08-20T03:15:00Z
Modified
2026-01-20T19:03:24.331855Z
Severity
  • 6.9 (Medium) CVSS_V4 - 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 CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:20.04:LTS / knack

Package

Name
knack
Purl
pkg:deb/ubuntu/knack@0.6.3-2?arch=source&distro=focal

Affected ranges

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

Affected versions

0.*
0.6.2-1ubuntu1
0.6.3-1ubuntu1
0.6.3-2~build1
0.6.3-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "0.6.3-2",
            "binary_name": "python3-knack"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-54364.json"

Ubuntu:22.04:LTS / knack

Package

Name
knack
Purl
pkg:deb/ubuntu/knack@0.9.0-1?arch=source&distro=jammy

Affected ranges

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

Affected versions

0.*
0.8.0~rc2-1
0.9.0-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "0.9.0-1",
            "binary_name": "python3-knack"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-54364.json"

Ubuntu:24.04:LTS / knack

Package

Name
knack
Purl
pkg:deb/ubuntu/knack@0.11.0-1?arch=source&distro=noble

Affected ranges

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

Affected versions

0.*
0.11.0-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "0.11.0-1",
            "binary_name": "python3-knack"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-54364.json"

Ubuntu:25.10 / knack

Package

Name
knack
Purl
pkg:deb/ubuntu/knack@0.12.0-2?arch=source&distro=questing

Affected ranges

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

Affected versions

0.*
0.12.0-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "0.12.0-2",
            "binary_name": "python3-knack"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-54364.json"