CVE-2020-23478: Regular Expression Denial of Service (ReDoS) in Leo Editor v6.2.1

leo Updated 02 Oct 2025

Summary

22/09/2021
Yes i
High
7.5

CVE-2020-23478: Leo Editor v6.2.1 was discovered to contain a regular expression denial of service (ReDoS) vulnerability in the component plugins/importers/dart.py. Affects leo versions < 6.3. Fixed in 6.3. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Leo Editor is a software package available on PyPI that provides a powerful and customizable text editor for programmers. It offers various features and plugins to enhance the editing experience. However, version 6.2.1 of Leo Editor has been found to contain a regular expression denial of service (ReDoS) vulnerability in the 'plugins/importers/dart.py' component.

Vulnerability Detail

The identified vulnerability in Leo Editor v6.2.1 is a regular expression denial of service (ReDoS) issue. This type of vulnerability occurs when a regular expression pattern can be manipulated in a way that causes the matching engine to exhibit exponential time complexity. An attacker can exploit this vulnerability by providing a specially crafted input that triggers the excessive backtracking behavior of the regular expression engine. As a result, the application becomes unresponsive or experiences significant slowdowns, leading to a denial of service condition. This vulnerability can be exploited remotely without authentication, potentially impacting the availability of Leo Editor instances.

How To Fix

Minimum fixed version

6.3

This is the first release that contains the fix.

pip install --upgrade "leo==6.3"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

No specific workaround has been provided for this vulnerability. It is recommended to apply the fix by upgrading to the latest version of Leo Editor.

Conclusion

Leo Editor v6.2.1 is affected by a regular expression denial of service (ReDoS) vulnerability in the 'plugins/importers/dart.py' component. Users should upgrade to version 6.3 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for leo →

Share this vulnerability

FAQ

Leo Editor is a text editor designed for programmers, offering various features and plugins to enhance the editing experience.

A regular expression denial of service (ReDoS) vulnerability occurs when a regular expression pattern can be manipulated to cause excessive backtracking, leading to a denial of service condition.

An attacker can exploit this vulnerability by providing specially crafted input that triggers the excessive backtracking behavior of the regular expression engine, causing the application to become unresponsive or significantly slow down.

No, this vulnerability can be exploited remotely without authentication.

The vulnerability can lead to a denial of service condition, potentially impacting the availability of Leo Editor instances.

How To Fix

Minimum fixed version

6.3

This is the first release that contains the fix.

pip install --upgrade "leo==6.3"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback