Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS1oaGZnLTZoZmMtcnZ4bc0WBg

Regular Expression Denial of Service in jsoneditor

JSON Editor is a web-based tool to view, edit, format, and validate JSON. It has various modes such as a tree editor, a code editor, and a plain text editor. The jsoneditor package is vulnerable to ReDoS (regular expression denial of service). An attacker that is able to provide a crafted element as input to the getInnerText function may cause an application to consume an excessive amount of CPU. Below pinned line using vulnerable regex.

Permalink: https://github.com/advisories/GHSA-hhfg-6hfc-rvxm
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1oaGZnLTZoZmMtcnZ4bc0WBg
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: over 2 years ago
Updated: 5 months ago


CVSS Score: 5.3
CVSS vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Identifiers: GHSA-hhfg-6hfc-rvxm, CVE-2021-3822
References: Repository: https://github.com/josdejong/jsoneditor
Blast Radius: 17.7

Affected Packages

npm:jsoneditor
Dependent packages: 429
Dependent repositories: 2,166
Downloads: 789,780 last month
Affected Version Ranges: < 9.5.6
Fixed in: 9.5.6
All affected versions: 2.2.0, 2.2.1, 2.2.2, 2.3.0, 2.3.1, 2.3.3, 2.3.5, 2.3.6, 3.0.0, 3.1.0, 3.1.1, 3.1.2, 3.2.0, 4.0.0, 4.1.0, 4.1.1, 4.1.2, 4.1.3, 4.2.0, 4.2.1, 5.0.0, 5.0.1, 5.1.0, 5.1.1, 5.1.2, 5.1.3, 5.1.4, 5.1.5, 5.2.0, 5.3.0, 5.4.0, 5.5.0, 5.5.1, 5.5.2, 5.5.3, 5.5.4, 5.5.5, 5.5.6, 5.5.7, 5.5.8, 5.5.9, 5.5.10, 5.5.11, 5.6.0, 5.7.0, 5.7.1, 5.7.2, 5.8.0, 5.8.1, 5.8.2, 5.9.0, 5.9.1, 5.9.2, 5.9.3, 5.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