Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. nitrado.js
  4. ›
  5. CVE-2022-36034

CVE-2022-36034: Polynomial regular expression used on uncontrolled data in nitrado.js

August 29, 2022 (updated July 21, 2023)

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.

References

  • github.com/advisories/GHSA-vqc4-v8hc-h2jg
  • github.com/cainthebest/nitrado.js/blob/v0.2.5/CHANGELOG.md
  • github.com/cainthebest/nitrado.js/security/advisories/GHSA-vqc4-v8hc-h2jg
  • nvd.nist.gov/vuln/detail/CVE-2022-36034

Code Behaviors & Features

Detect and mitigate CVE-2022-36034 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.2.5

Fixed versions

  • 0.2.5

Solution

Upgrade to version 0.2.5 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-1333: Inefficient Regular Expression Complexity

Source file

npm/nitrado.js/CVE-2022-36034.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:56 +0000.