CVE-2020-23478: Regular Expression Denial of Service in Leo Editor
Summary
CVE-2020-23478: Regular Expression Denial of Service in Leo Editor. Affects leo versions < 6.3. Fixed in 6.3. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
Leo Editor is a Python-based text editor that provides a hierarchical view of the code structure. It is commonly used for software development and offers various plugins and importers to enhance functionality. The vulnerability affects Leo Editor version 6.2.1 and is specifically present in the 'dart.py' component of the 'plugins/importers' module.
Vulnerability Detail
The identified vulnerability in Leo Editor is a regular expression denial of service (ReDoS) issue. This type of vulnerability occurs when a regular expression pattern is crafted in such a way that it takes an excessive amount of time to process certain inputs. An attacker can exploit this vulnerability by providing specially crafted input, causing the affected component to consume excessive CPU resources and potentially leading to a denial of service condition. The severity of this vulnerability is rated as HIGH with a CVSS score of 7.5.
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
As a temporary workaround, users can disable or remove the 'dart.py' plugin from the Leo Editor installation. This can be done by navigating to the 'plugins/importers' directory and either deleting or renaming the 'dart.py' file. However, this workaround may limit the functionality related to Dart language support in Leo Editor.
Conclusion
Leo Editor version 6.2.1 is affected by a regular expression denial of service vulnerability in the 'dart.py' component. This vulnerability can be exploited to cause a denial of service condition. Users are advised to update Leo Editor to a non-affected version or apply the provided workaround. For further assistance or support in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for leo →
FAQ
Leo Editor is a Python-based text editor that provides a hierarchical view of the code structure. It is commonly used for software development and offers various plugins and importers to enhance functionality.
A regular expression denial of service (ReDoS) vulnerability occurs when a regular expression pattern is crafted in such a way that it takes an excessive amount of time to process certain inputs. This can lead to a denial of service condition.
This vulnerability in Leo Editor can be exploited by an attacker to cause a denial of service condition. By providing specially crafted input, the affected component may consume excessive CPU resources, leading to performance degradation or unresponsiveness of the application.
To fix this vulnerability, it is recommended to update Leo Editor to a version that is not affected by the issue. The latest version should include a patch or a fix for this vulnerability. Users can update their installation by following the official documentation or using package management tools like pip.
Yes, a temporary workaround is to disable or remove the 'dart.py' plugin from the Leo Editor installation. This can be done by navigating to the 'plugins/importers' directory and either deleting or renaming the 'dart.py' file. However, this workaround may limit the functionality related to Dart language support in Leo Editor.