CVE-2020-23478 Regular Expression Denial of Service in Leo Editor
Attackers can cause a denial of service in Leo Editor via a regular expression denial of service vulnerability in the Dart importer plugin.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-23478?
CVE-2020-23478 is a high-severity denial of service vulnerability in n/a, published on 22 Sep 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Leo Editor v6.2.1 was discovered to contain a regular expression denial of service (ReDoS) vulnerability in the component plugins/importers/dart.py.
Weakness: CWE-697
Which versions are affected by CVE-2020-23478?
3 open source packages ship an affected version, including leo. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
leo PyPI | All versions | 6.3 |
leo PyPI | All versions | 6.3 |
leo PyPI | All versions | 6.3 |
Products include Leoeditor Leo.
How do I fix CVE-2020-23478?
Upgrade leo to 6.3 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-2020-23478 being exploited?
There is no known exploitation of CVE-2020-23478 in the wild and no public exploit code.
Sources
Also known as GHSA-x38q-xg2h-rxgx, PYSEC-2021-338.