CVE-2021-3822
Regular Expression Denial of Service in jsoneditor
5.3
MEDIUM
CVSS 3.1
EPSS 1.4%
Description
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.
How to fix CVE-2021-3822
To remediate CVE-2021-3822, upgrade the affected package to a fixed version below.
- —upgrade to 9.5.6 or later
Is CVE-2021-3822 being exploited?
Low — EPSS is 1.4%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- from 0, < 9.5.6
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |