{"schemaVersion":3,"id":"CVE-2025-54363","aliases":["GHSA-6fxp-p9mg-q64w","UBUNTU-CVE-2025-54363","DEBIAN-CVE-2025-54363","CGA-2frh-56m4-g72h","CGA-2r79-7xv9-h5xx","CGA-6jx6-f667-4m4w","CGA-8fw5-x7qx-jxhx","CGA-8jj9-5w9w-9wmr","CGA-8mc7-4h9g-vf4r","CGA-94m5-m3v3-6v56","CGA-fjcf-rrp6-c8p3","CGA-gj4w-g2f4-crxw","CGA-h59j-33xq-q923","CGA-mmpg-86vm-rj6g","CGA-ppqw-5gcw-wf5c","CGA-q88g-fhvg-h2h8","CGA-v6jc-vqwh-gjg2"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2025-08-20T00:00:00.000Z","modified":"2025-08-21T15:37:24.848Z","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.00415,"percentile":0.34658,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0.016000000000000042,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00399},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00415,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00415,"percentile":0.34658}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00399,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00415,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00415,"percentile":0.34658}]},"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://github.com/microsoft/knack/issues/281","label":"github.com/microsoft/knack/issues/281","hostname":"github.com","tags":["WEB","REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-54363","label":"nvd.nist.gov/vuln/detail/CVE-2025-54363","hostname":"nvd.nist.gov","tags":["Advisory"]},{"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-54363","label":"ubuntu.com/security/CVE-2025-54363","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-54363","label":"www.cve.org/CVERecord?id=CVE-2025-54363","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-54363","label":"security-tracker.debian.org/tracker/CVE-2025-54363","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/54xxx/CVE-2025-54363.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2025/54xxx/CVE-2025-54363.json","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-2FXQ-3V3F-C5C6","CGA-7FFM-XG3H-68QP"]},"timeline":[{"kind":"published","date":"2025-08-20T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-08-21T15:37:24.848Z","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-22T00:59:13.576Z","stale":false,"partial":false}}