{"id":"CVE-2022-36034","published":"2022-08-29T16:50:09Z","modified":"2025-04-23T17:47:33Z","title":"Possible Regular Expression Denial of Service (ReDoS) used on uncontrolled data in nitrado.js","vendor":"cainthebest","product":"nitrado.js","tier":"tail","description":{"text":"nitrado.js is a type safe wrapper for the Nitrado API. Possible ReDoS with lib input of `{{` and with many repetitions of `{{|`. This issue has been patched in all versions above `0.2.5`. There are currently no known workarounds.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00972,"percentile":0.62817,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"references":[{"url":"https://github.com/cainthebest/nitrado.js/security/advisories/GHSA-vqc4-v8hc-h2jg","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/cainthebest/nitrado.js/blob/v0.2.5/CHANGELOG.md","tags":["x_refsource_MISC"]}],"priority":{"score":17.8,"factors":[{"name":"EPSS percentile","points":12.56},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"cainthebest","affectedVersions":[{"vendor":"cainthebest","product":"nitrado.js","versions":["< 0.2.5"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-04-23T15:52:12.696844Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"nitrado.js","vulnerableRanges":["<0.2.5"],"patched":["0.2.5"],"from":["GHSA-vqc4-v8hc-h2jg"],"provenance":"source"}],"summary":{"text":"A regular expression flaw in the nitrado.js library, a type-safe wrapper for the Nitrado API published by cainthebest, causes inefficient matching on uncontrolled input, so processing crafted strings (such as a {{ input or many repetitions of {{|) can consume excessive resources. An attacker can trigger this by supplying such input over the network with no authentication, privileges, or user interaction required, and the impact is limited to availability (denial of service).","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:38:17Z"},"euvd":{"id":"EUVD-2022-6635","exploited":false,"provenance":"source"}}