CVE-2021-3822 Inefficient Regular Expression Complexity in josdejong/jsoneditor
Attackers can cause denial of service in josdejong/jsoneditor by triggering inefficient regular expression complexity.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-3822?
CVE-2021-3822 is a medium-severity denial of service vulnerability in josdejong/jsoneditor, published on 27 Sep 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
jsoneditor is vulnerable to Inefficient Regular Expression Complexity
Which versions are affected by CVE-2021-3822?
2 open source packages ship an affected version, including jsoneditor. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
jsoneditor npm | All versions | 9.5.6 |
jsoneditor npm | All versions | 9.5.6 |
Products include Jsoneditoronline Jsoneditor.
How do I fix CVE-2021-3822?
Upgrade jsoneditor to 9.5.6 or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2021-3822 being exploited?
There is no known exploitation of CVE-2021-3822 in the wild and no public exploit code.
Other vulnerabilities in josdejong/jsoneditor
Sources
Also known as GHSA-hhfg-6hfc-rvxm.