GLSA 202408-04: Levenshtein: Remote Code Execution
Severity: | normal |
Title: | Levenshtein: Remote Code Execution |
Date: | 08/07/2024 |
Bugs: |
|
ID: | 202408-04 |
Synopsis
A vulnerability has been discovered in Levenshtein, which could lead to a remote code execution.Background
Levenshtein is a Python extension for computing string edit distances and similarities.
Affected packages
Package | Vulnerable | Unaffected | Architecture(s) |
---|---|---|---|
dev-python/Levenshtein | < 0.12.1 | >= 0.12.1 | All supported architectures |
Description
Fixed handling of numerous possible wraparounds in calculating the size of memory allocations; incorrect handling of which could cause denial of service or even possible remote code execution.
Impact
Fixed handling of numerous possible wraparounds in calculating the size of memory allocations; incorrect handling of which could cause denial of service or even possible remote code execution.
Workaround
There is no known workaround at this time.
Resolution
All Levenshtein users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=dev-python/Levenshtein-0.12.1"
References
Availability
This GLSA and any updates to it are available for viewing at the Gentoo Security Website:
Concerns?
Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.
License
Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.