{"id":"CVE-2021-43309","aliases":["EUVD-2022-6538","GHSA-chw2-6c7r-37p7"],"status":"published","title":"ReDoS in uri-template-lite URI.expand function","description":"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","severity":{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.01022,"percentile":0.63721,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-1333","CWE-697"],"published":"2022-08-24T15:48:36Z","modified":"2026-06-17T04:10:49Z","fixes":[{"ecosystem":"npm","package":"uri-template-lite","fixed_in":["22.9.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"uri-template-lite","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"22.9.0"}]}]},{"source":"osv","ecosystem":"npm","package":"uri-template-lite","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"22.9.0"}]}]}],"products":[{"vendor":"litejs","product":"uri-template-lite"},{"vendor":"uri-template-lite","product":"uri-template-lite"}],"references":[{"url":"https://research.jfrog.com/vulnerabilities/uri-template-lite-redos-xray-211351/","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory"]},{"url":"https://github.com/litejs/uri-template-lite/compare/v22.1.0...v22.9.0","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-43309","tags":["advisory"]},{"url":"https://github.com/litejs/uri-template-lite/commit/cbeec2b2a275d819fb534137a155df14729706f8","tags":["web"]},{"url":"https://github.com/litejs/uri-template-lite/commits/v22.9.0","tags":["web"]},{"url":"https://github.com/advisories/GHSA-chw2-6c7r-37p7"},{"url":"https://github.com/litejs/uri-template-lite","tags":["package"]},{"url":"https://research.jfrog.com/vulnerabilities/uri-template-lite-redos-xray-211351","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2021-43309","title":"ReDoS in uri-template-lite URI.expand function","description":"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","status":"published","published":"2022-08-24T15:48:36Z","modified":"2024-08-04T03:55:29.287Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"cna"}],"cwes":["CWE-1333"],"updated_at":"2026-11-02T14:32:56.689433Z"}],"euvd":[{"id":"EUVD-2022-6538","description":"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","status":"published","published":"2022-08-24T15:48:36Z","modified":"2024-08-04T03:55:29Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-03T03:24:13.772922Z"}],"ghsa":[{"id":"GHSA-chw2-6c7r-37p7","title":"uri-template-lite Regular Expression Denial of Service","description":"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.","status":"published","published":"2022-08-25T00:00:27Z","modified":"2023-11-28T23:49:22Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-697","CWE-1333"],"updated_at":"2026-11-02T14:37:22.840002Z"}],"nvd":[{"id":"CVE-2021-43309","description":"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","status":"published","published":"2022-08-24T16:15:09.137Z","modified":"2026-06-17T04:10:49.81Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"secondary"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-1333"],"updated_at":"2026-11-02T14:07:06.906968Z"}],"osv":[{"id":"GHSA-chw2-6c7r-37p7","title":"uri-template-lite Regular Expression Denial of Service","description":"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.","status":"published","published":"2022-08-25T00:00:27Z","modified":"2023-11-08T04:07:09.728481Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-1333","CWE-697"],"updated_at":"2026-11-02T15:46:45.28161Z"}]}}
