Denial of Service (DoS) Affecting python-levenshtein package, versions [0,0.12.1)
Snyk CVSS
Attack Complexity
High
Scope
Changed
Confidentiality
High
Availability
High
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-PYTHON-PYTHONLEVENSHTEIN-1061894
- published 2 Feb 2021
- disclosed 17 Jan 2021
- credit Cris Neckar
How to fix?
Upgrade python-Levenshtein
to version 0.12.1 or higher.
Overview
python-Levenshtein is a Python extension for computing string edit distances and similarities.
Affected versions of this package are vulnerable to Denial of Service (DoS) via the lev_edit_distance()
function.
Incorrect handling of numerous possible wraparounds in calculating the size of memory allocations, which could cause Denial of Service or even possible remote code execution.