Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. parsejson
  4. ›
  5. GMS-2017-211

GMS-2017-211: Regular Expression Denial of Service

September 21, 2017

The parsejson module is vulnerable to regular expression denial of service when untrusted user input is passed into it to be parsed.

References

  • github.com/get/parsejson/issues/4

Code Behaviors & Features

Detect and mitigate GMS-2017-211 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

Solution

Until a fix is available do not use parsejson to parse json. Use JSON.parse() instead if available.

Source file

npm/parsejson/GMS-2017-211.yml

Spotted a mistake? Edit the file on GitLab.

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

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