Vulnerability · Published Aug 29, 2022 · Assigned by GitHub_M
CVE-2022-36034Possible Regular Expression Denial of Service (ReDoS) used on uncontrolled data in nitrado.js
High 7.5
In plain English
A high-severity uncontrolled resource consumption in nitrado.js from cainthebest. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 61% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.9%top 38.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | nitrado.js | 0.2.5 | GHSA-vqc4-v8hc-h2jg |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| cainthebest | nitrado.js | < 0.2.5 |
Weakness: CWE-400, CWE-1333 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/cainthebest/nitrado.js/security/advisories/GHSA-vqc4-v8hc-h2jg x_refsource_CONFIRM
- https://github.com/cainthebest/nitrado.js/blob/v0.2.5/CHANGELOG.md x_refsource_MISC