{"schemaVersion":3,"id":"CVE-2025-54364","aliases":["GHSA-xh9h-692f-mmg4","UBUNTU-CVE-2025-54364","DEBIAN-CVE-2025-54364","CGA-2rp9-hj3x-8fmm","CGA-56gr-7pwj-cv5w","CGA-77g4-8v38-vfmw","CGA-8xgm-j5h9-9h4j","CGA-9q79-8w8r-6xm8","CGA-cq2w-742q-8j3c","CGA-h7fp-vp9j-8mg5","CGA-m7pf-rv6x-wx44","CGA-mwfh-84fh-4753","CGA-r4gw-2hjc-j974","CGA-r8cq-69vx-qcpf","CGA-rc43-5x75-cjgf","CGA-x5vm-mpcg-6mqm","CGA-xqwh-fc2w-4m87"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2025-08-20T00:00:00.000Z","modified":"2025-08-26T13:42:50.158Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.9,"severity":"medium","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":6.9,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":5.1,"severity":"medium","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":6.9,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Debian","score":6.9,"severity":"medium","vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Wolfi","score":6.9,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Chainguard","score":6.9,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":6.9,"severity":"medium","vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00357,"percentile":0.27966,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00357},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00357,"percentile":0.27966}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00357,"percentile":0.27966}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity","description":"The product uses a regular expression with a worst-case computational complexity that is inefficient and possibly exponential.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/1333.html"}],"affected":[{"vendor":"chainguard","product":"az","name":"az","label":"az","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/az","purlType":"apk","versions":[{"text":"< 2.79.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.79.0-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"py3-knack","name":"py3-knack","label":"py3-knack","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/py3-knack","purlType":"apk","versions":[{"text":"< 0.12.0-r3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.12.0-r3","eol":null,"hubHref":null},{"vendor":"chainguard","product":"py3-supported-knack","name":"py3-supported-knack","label":"py3-supported-knack","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/py3-supported-knack","purlType":"apk","versions":[{"text":"< 0.12.0-r3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.12.0-r3","eol":null,"hubHref":null},{"vendor":"chainguard","product":"py3.10-knack","name":"py3.10-knack","label":"py3.10-knack","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/py3.10-knack","purlType":"apk","versions":[{"text":"< 0.12.0-r3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.12.0-r3","eol":null,"hubHref":null},{"vendor":"chainguard","product":"py3.11-knack","name":"py3.11-knack","label":"py3.11-knack","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/py3.11-knack","purlType":"apk","versions":[{"text":"< 0.12.0-r3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.12.0-r3","eol":null,"hubHref":null},{"vendor":"chainguard","product":"py3.12-knack","name":"py3.12-knack","label":"py3.12-knack","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/py3.12-knack","purlType":"apk","versions":[{"text":"< 0.12.0-r3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.12.0-r3","eol":null,"hubHref":null},{"vendor":"chainguard","product":"py3.13-knack","name":"py3.13-knack","label":"py3.13-knack","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/py3.13-knack","purlType":"apk","versions":[{"text":"< 0.12.0-r3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.12.0-r3","eol":null,"hubHref":null},{"vendor":"wolfi","product":"az","name":"az","label":"az","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/az","purlType":"apk","versions":[{"text":"< 2.79.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.79.0-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"py3-knack","name":"py3-knack","label":"py3-knack","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/py3-knack","purlType":"apk","versions":[{"text":"< 0.12.0-r3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.12.0-r3","eol":null,"hubHref":null},{"vendor":"wolfi","product":"py3-supported-knack","name":"py3-supported-knack","label":"py3-supported-knack","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/py3-supported-knack","purlType":"apk","versions":[{"text":"< 0.12.0-r3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.12.0-r3","eol":null,"hubHref":null},{"vendor":"wolfi","product":"py3.10-knack","name":"py3.10-knack","label":"py3.10-knack","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/py3.10-knack","purlType":"apk","versions":[{"text":"< 0.12.0-r3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.12.0-r3","eol":null,"hubHref":null},{"vendor":"wolfi","product":"py3.11-knack","name":"py3.11-knack","label":"py3.11-knack","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/py3.11-knack","purlType":"apk","versions":[{"text":"< 0.12.0-r3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.12.0-r3","eol":null,"hubHref":null},{"vendor":"wolfi","product":"py3.12-knack","name":"py3.12-knack","label":"py3.12-knack","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/py3.12-knack","purlType":"apk","versions":[{"text":"< 0.12.0-r3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.12.0-r3","eol":null,"hubHref":null},{"vendor":"wolfi","product":"py3.13-knack","name":"py3.13-knack","label":"py3.13-knack","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/py3.13-knack","purlType":"apk","versions":[{"text":"< 0.12.0-r3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.12.0-r3","eol":null,"hubHref":null},{"vendor":"debian","product":"knack","name":"knack","label":"knack","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/knack","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"knack","name":"knack","label":"knack","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/knack","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"microsoft","product":"knack","name":"Knack","label":"knack","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"0.12.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"0.12.0","eol":null,"hubHref":"/vendor/microsoft/knack"},{"vendor":"PyPI","product":"knack","name":"knack","label":"knack","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/knack","purlType":"pypi","versions":[{"text":"≤ 0.12.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 0.12.0","eol":null,"hubHref":null}],"affectedCount":18,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/microsoft/knack","label":"github.com/microsoft/knack","hostname":"github.com","tags":["PACKAGE","REPORT"]},{"url":"https://www.vulncheck.com/advisories/microsoft-knack-python-package-regular-expression-dos","label":"www.vulncheck.com/advisories/microsoft-knack-python-package-regular-expression-dos","hostname":"www.vulncheck.com","tags":["WEB","REPORT","Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-54364","label":"nvd.nist.gov/vuln/detail/CVE-2025-54364","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/microsoft/knack/issues/281","label":"github.com/microsoft/knack/issues/281","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/microsoft/knack/issues/281#issuecomment-3218922941","label":"github.com/microsoft/knack/issues/281","hostname":"github.com","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2025-54364","label":"ubuntu.com/security/CVE-2025-54364","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-54364","label":"www.cve.org/CVERecord?id=CVE-2025-54364","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-54364","label":"security-tracker.debian.org/tracker/CVE-2025-54364","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/54xxx/CVE-2025-54364.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2025/54xxx/CVE-2025-54364.json","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-WF32-W54C-VM5R","CGA-X2RQ-3G6W-2P3M"]},"timeline":[{"kind":"published","date":"2025-08-20T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-08-26T13:42:50.158Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":28,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T11:36:23.278Z","stale":false,"partial":false}}