{"id":"CVE-2021-43309","published":"2022-08-24T15:48:36Z","modified":"2024-08-04T03:55:29Z","title":"ReDoS in uri-template-lite URI.expand function","vendor":"uri-template-lite","product":"uri-template-lite","tier":"tail","description":{"text":"An exponential ReDoS (Regular Expression Denial of Service) can be triggered in the uri-template-lite npm package, when an attacker is able to supply arbitrary input to the \"URI.expand\" method","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01022,"percentile":0.62544,"provenance":"source"},"cwes":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"references":[{"url":"https://research.jfrog.com/vulnerabilities/uri-template-lite-redos-xray-211351/","tags":["x_refsource_MISC"]},{"url":"https://github.com/litejs/uri-template-lite/compare/v22.1.0...v22.9.0","tags":["x_refsource_MISC"]}],"priority":{"score":16.6,"factors":[{"name":"EPSS percentile","points":12.51},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"uri-template-lite","affectedVersions":[{"vendor":"uri-template-lite","product":"uri-template-lite","versions":["< 22.9.0"]}],"affected":[{"ecosystem":"npm","package":"uri-template-lite","vulnerableRanges":["<22.9.0"],"patched":["22.9.0"],"from":["GHSA-chw2-6c7r-37p7"],"provenance":"source"}],"summary":{"text":"The uri-template-lite npm package contains a regular expression denial of service (ReDoS) flaw in its URI.expand method, which processes URI template input. An attacker who can supply arbitrary input to URI.expand can trigger exponential regex backtracking, and the attack requires network access, no authentication, no user interaction, and a high-complexity condition.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:13:51Z"},"euvd":{"id":"EUVD-2022-6538","exploited":false,"provenance":"source"}}